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.001579/0.001579, allocations: 115.1 kB / 18.46 MB, free: 4.543 MB / 14.72 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.001737/0.001737, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 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 1.564/1.564, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001665/0.001665, allocations: 47.92 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004218/0.1229, allocations: 2.374 MB / 429.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1242, allocations: 0.6466 MB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1245, allocations: 7.938 kB / 430.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.1246, allocations: 39.59 kB / 430.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1248, allocations: 71.39 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1251, allocations: 63.86 kB / 430.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.1255, allocations: 258.8 kB / 430.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1257, allocations: 64.38 kB / 431 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1259, allocations: 111.6 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1261, allocations: 115.4 kB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1262, allocations: 20 kB / 431.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.1262, allocations: 20 kB / 431.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1263, allocations: 51.78 kB / 431.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1264, allocations: 111.5 kB / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.1268, allocations: 258.8 kB / 431.7 MB, free: 96 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1268, allocations: 0 / 431.7 MB, free: 96 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1268, allocations: 0 / 431.7 MB, free: 96 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1268, allocations: 4 kB / 431.7 MB, free: 92 kB / 350.1 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.2284/0.3552, allocations: 0.5093 MB / 432.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3552, allocations: 9.25 kB / 432.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.3555, allocations: 34.45 kB / 432.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.3559, allocations: 242.2 kB / 432.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.3559, allocations: 17.17 kB / 432.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.356, allocations: 23.56 kB / 432.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.3564, allocations: 208.7 kB / 432.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3565, allocations: 9.078 kB / 432.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.3565, allocations: 12.88 kB / 432.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3565, allocations: 6.531 kB / 432.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3568, allocations: 128.5 kB / 432.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3579, allocations: 0.7067 MB / 433.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3582, allocations: 136 kB / 433.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3583, allocations: 64.25 kB / 433.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3583, allocations: 1.438 kB / 433.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3583, allocations: 43.41 kB / 433.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3583, allocations: 1.125 kB / 433.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001581/0.3599, allocations: 0.8849 MB / 434.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3599, allocations: 58.03 kB / 434.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3601, allocations: 182.8 kB / 434.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3601, allocations: 25.7 kB / 434.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.3602, allocations: 149.8 kB / 435.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.3602, allocations: 87.36 kB / 435.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.3603, allocations: 49.73 kB / 435.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.105e-05/0.3603, allocations: 331.1 kB / 435.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3605, allocations: 58.84 kB / 435.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3606, allocations: 102.2 kB / 435.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.3609, allocations: 170 kB / 435.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3609, allocations: 1.094 kB / 435.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004884/0.3614, allocations: 251.9 kB / 436.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3614, allocations: 9.281 kB / 436.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3614, allocations: 1.031 kB / 436.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.3615, allocations: 35.92 kB / 436.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3618, allocations: 54.08 kB / 436.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/0.3627, allocations: 1.479 MB / 437.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3629, allocations: 11.44 kB / 437.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3629, allocations: 11.48 kB / 437.7 MB, free: 7.859 MB / 350.1 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 9.777e-05/0.363, allocations: 134.8 kB / 437.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.363, allocations: 20.95 kB / 437.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.3631, allocations: 26.38 kB / 437.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3631, allocations: 3.25 kB / 437.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3631, allocations: 5.031 kB / 437.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3631, allocations: 7.562 kB / 437.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007853/0.3639, allocations: 0.6491 MB / 438.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3639, allocations: 1.375 kB / 438.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.3641, allocations: 41.3 kB / 438.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.3642, allocations: 38.91 kB / 438.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3642, allocations: 5.406 kB / 438.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008543/0.3651, allocations: 1.489 MB / 440.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3651, allocations: 1.312 kB / 440.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.3656, allocations: 405.1 kB / 440.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.3656, allocations: 94.19 kB / 440.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3657, allocations: 6.953 kB / 440.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3658, allocations: 8.906 kB / 440.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.3658, allocations: 18.03 kB / 440.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3659, allocations: 14.25 kB / 440.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.366, allocations: 128.6 kB / 440.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.366, allocations: 2.812 kB / 440.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.3663, allocations: 58.69 kB / 440.9 MB, free: 5.297 MB / 350.1 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 0.0001126/0.3664, allocations: 111.4 kB / 441 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.3669, allocations: 281.9 kB / 441.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3669, allocations: 0.8125 kB / 441.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.3672, allocations: 209.2 kB / 441.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3676, allocations: 35.22 kB / 441.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3687, allocations: 0.7115 MB / 442.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.3689, allocations: 0.7459 MB / 442.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.369, allocations: 20.58 kB / 443 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.369, allocations: 2.625 kB / 443 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Templates: time 0.006996/0.376, allocations: 3.529 MB / 446.5 MB, free: 3.375 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.930795260006562]