Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009427/0.0009427, allocations: 145 kB / 25.59 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9391/0.9391, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.576e-05, allocations: 3.125 kB / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003466/0.003492, allocations: 2.234 MB / 271.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.004013, allocations: 198.5 kB / 271.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.00413, allocations: 4 kB / 271.6 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.949e-05/0.004219, allocations: 33.12 kB / 271.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.00442, allocations: 79.89 kB / 271.7 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.004602, allocations: 48.52 kB / 271.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.004854, allocations: 243.5 kB / 272 MB, free: 6.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.00504, allocations: 79 kB / 272.1 MB, free: 6.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.005223, allocations: 137.4 kB / 272.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.005391, allocations: 75.78 kB / 272.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.005427, allocations: 20 kB / 272.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.00546, allocations: 20 kB / 272.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.005506, allocations: 53.09 kB / 272.4 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.832e-05/0.005584, allocations: 79.83 kB / 272.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.005804, allocations: 163.3 kB / 272.6 MB, free: 6.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005806, allocations: 4.812 kB / 272.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005807, allocations: 0 / 272.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005812, allocations: 0 / 272.6 MB, free: 6.363 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006907/0.006503, allocations: 0.5374 MB / 273.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.006537, allocations: 12.03 kB / 273.2 MB, free: 5.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.006607, allocations: 40.8 kB / 273.2 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.006791, allocations: 164.3 kB / 273.4 MB, free: 5.547 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.006812, allocations: 20.86 kB / 273.4 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.00685, allocations: 28.31 kB / 273.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.007099, allocations: 183.4 kB / 273.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.007116, allocations: 8.141 kB / 273.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.007135, allocations: 8.375 kB / 273.6 MB, free: 5.285 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.007145, allocations: 8.375 kB / 273.6 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.007276, allocations: 75.73 kB / 273.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.008168, allocations: 0.9226 MB / 274.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.008331, allocations: 137.2 kB / 274.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.008392, allocations: 51.34 kB / 274.8 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.008403, allocations: 4 kB / 274.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.008427, allocations: 33.39 kB / 274.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.008429, allocations: 3.938 kB / 274.8 MB, free: 3.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002832/0.008712, allocations: 125.5 kB / 275 MB, free: 3.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.008764, allocations: 114.7 kB / 275.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.008913, allocations: 228.7 kB / 275.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.008928, allocations: 29.7 kB / 275.3 MB, free: 3.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.009028, allocations: 210.9 kB / 275.5 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.009076, allocations: 67.42 kB / 275.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.009148, allocations: 59.61 kB / 275.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.0093, allocations: 0.4962 MB / 276.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.009346, allocations: 24.53 kB / 276.2 MB, free: 2.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.009471, allocations: 172 kB / 276.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.009669, allocations: 231.4 kB / 276.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.009672, allocations: 0 / 276.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002853/0.009958, allocations: 201.2 kB / 276.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.009976, allocations: 8.438 kB / 276.8 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.009983, allocations: 4 kB / 276.8 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.009996, allocations: 8 kB / 276.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01018, allocations: 63.84 kB / 276.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.01019, allocations: 11.88 kB / 276.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.0103, allocations: 27.78 kB / 276.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01032, allocations: 12 kB / 276.9 MB, free: 1.656 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/0.01041, allocations: 168.5 kB / 277.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.01048, allocations: 19.91 kB / 277.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.01053, allocations: 25.45 kB / 277.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01053, allocations: 8 kB / 277.1 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01054, allocations: 3.938 kB / 277.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01054, allocations: 0 / 277.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.01098, allocations: 360.9 kB / 277.5 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01098, allocations: 0 / 277.5 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.01114, allocations: 43.92 kB / 277.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01115, allocations: 4.188 kB / 277.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.01116, allocations: 7.938 kB / 277.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01116, allocations: 4 kB / 277.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01117, allocations: 4.078 kB / 277.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.01148, allocations: 435.9 kB / 278 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.01151, allocations: 23.84 kB / 278 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01153, allocations: 7.938 kB / 278 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01166, allocations: 4 kB / 278 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.01169, allocations: 11.97 kB / 278 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.0117, allocations: 4 kB / 278 MB, free: 468 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.01177, allocations: 160.8 kB / 278.2 MB, free: 308 kB / 250.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01177, allocations: 0 / 278.2 MB, free: 308 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.01217, allocations: 55.89 kB / 278.2 MB, free: 252 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000357/0.01253, allocations: 103.2 kB / 278.3 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.01272, allocations: 111.4 kB / 278.4 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01272, allocations: 0 / 278.4 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.01279, allocations: 48.64 kB / 278.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.01325, allocations: 35.72 kB / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.01404, allocations: 0.511 MB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.0141, allocations: 75.98 kB / 279.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.343e-05/0.01419, allocations: 17.64 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01429, allocations: 98.19 kB / 279.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0143, allocations: 3.828 kB / 279.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Templates: time 0.003842/0.01814, allocations: 1.602 MB / 280.8 MB, free: 13.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.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.6727614789269865]