Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002567, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009882/0.00177, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9152/0.9152, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07937/0.9946, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.175e-05, allocations: 6.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002346/0.002358, allocations: 2.424 MB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.003025, allocations: 0.6579 MB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.003112, allocations: 11.94 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.281e-05/0.003185, allocations: 39.64 kB / 247.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.003287, allocations: 79.28 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.003401, allocations: 67.78 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.003726, allocations: 266.6 kB / 248.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.003843, allocations: 62.52 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.004029, allocations: 171.6 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.004127, allocations: 87.66 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.004153, allocations: 20 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.004214, allocations: 27.94 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.004238, allocations: 31.88 kB / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.004287, allocations: 67.88 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004469, allocations: 159.4 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.004481, allocations: 0 / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004482, allocations: 0 / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.004493, allocations: 0 / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004582/0.004951, allocations: 483.8 kB / 249.1 MB, free: 9.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.004979, allocations: 12.03 kB / 249.2 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.005104, allocations: 118 kB / 249.3 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.00526, allocations: 166.1 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.005273, allocations: 16.88 kB / 249.5 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.005298, allocations: 16.38 kB / 249.5 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.00546, allocations: 176 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.005472, allocations: 4.188 kB / 249.6 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.005485, allocations: 8.375 kB / 249.7 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.005492, allocations: 11.94 kB / 249.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.005558, allocations: 59.39 kB / 249.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.006033, allocations: 478.4 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.006146, allocations: 108 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.006181, allocations: 32.84 kB / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.006195, allocations: 7.984 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.006214, allocations: 38.5 kB / 250.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.006215, allocations: 0 / 250.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007166/0.006932, allocations: 0.5633 MB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.006958, allocations: 55.41 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.007039, allocations: 167.1 kB / 251.2 MB, free: 7.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.00705, allocations: 33.7 kB / 251.2 MB, free: 7.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.007098, allocations: 136.4 kB / 251.3 MB, free: 7.293 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.007139, allocations: 91.19 kB / 251.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.007183, allocations: 53.62 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003402/0.007523, allocations: 334.7 kB / 251.8 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.007548, allocations: 19.98 kB / 251.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.007594, allocations: 73.28 kB / 251.9 MB, free: 6.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.363e-05/0.007688, allocations: 110.8 kB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007689, allocations: 0 / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001484/0.007837, allocations: 154.9 kB / 252.1 MB, free: 6.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.007849, allocations: 4 kB / 252.1 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007854, allocations: 4 kB / 252.1 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.161e-05/0.007946, allocations: 32.77 kB / 252.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.008098, allocations: 64.03 kB / 252.2 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005773/0.008675, allocations: 1.225 MB / 253.5 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.008724, allocations: 8 kB / 253.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.008732, allocations: 8 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.008793, allocations: 125.8 kB / 253.6 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.008817, allocations: 27.94 kB / 253.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.00884, allocations: 25.97 kB / 253.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.008841, allocations: 0 / 253.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.008843, allocations: 0 / 253.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.008847, allocations: 4 kB / 253.7 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.009196, allocations: 416 kB / 254.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009198, allocations: 3.938 kB / 254.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.009314, allocations: 51.97 kB / 254.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.009329, allocations: 23.97 kB / 254.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.009384, allocations: 20.84 kB / 254.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.009394, allocations: 11.98 kB / 254.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005058/0.0099, allocations: 1.234 MB / 255.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009901, allocations: 4.031 kB / 255.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.01008, allocations: 286.1 kB / 255.7 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.01009, allocations: 8 kB / 255.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.01015, allocations: 4 kB / 255.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.01018, allocations: 23.89 kB / 255.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.01019, allocations: 8 kB / 255.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.01021, allocations: 36.81 kB / 255.8 MB, free: 2.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01021, allocations: 0 / 255.8 MB, free: 2.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.01037, allocations: 60 kB / 255.8 MB, free: 2.473 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.723e-05/0.01044, allocations: 88.41 kB / 255.9 MB, free: 2.379 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01067, allocations: 237.5 kB / 256.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.01068, allocations: 4 kB / 256.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.0108, allocations: 191.3 kB / 256.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.01099, allocations: 59.22 kB / 256.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.01409, allocations: 0.5137 MB / 256.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01413, allocations: 84.31 kB / 257 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.01418, allocations: 17.95 kB / 257 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.01426, allocations: 87.34 kB / 257.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01426, allocations: 0 / 257.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of Templates: time 0.004433/0.0187, allocations: 2.79 MB / 259.9 MB, free: 14.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.439951595850289]