Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001415/0.001415, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001944/0.001944, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.215 MB / 190.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.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.636e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003482/0.003508, allocations: 2.151 MB / 327.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.004061, allocations: 194.3 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.004164, allocations: 4.625 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.963e-05/0.004263, allocations: 34.36 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004437, allocations: 66.56 kB / 327.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.004614, allocations: 55.77 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.004891, allocations: 245.4 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.005086, allocations: 81.08 kB / 327.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.005279, allocations: 146.2 kB / 328 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.005422, allocations: 69.58 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.005473, allocations: 20.22 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.005513, allocations: 21.69 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.005567, allocations: 45.78 kB / 328.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.005668, allocations: 81.14 kB / 328.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.006039, allocations: 258.5 kB / 328.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006043, allocations: 0 / 328.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.006045, allocations: 5.188 kB / 328.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.006052, allocations: 0 / 328.5 MB, free: 14.42 MB / 302.1 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.0008394/0.006891, allocations: 439.3 kB / 328.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.006928, allocations: 9.406 kB / 328.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.00699, allocations: 25.91 kB / 329 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.007266, allocations: 163.8 kB / 329.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.007289, allocations: 18.55 kB / 329.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.007344, allocations: 27.55 kB / 329.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.007776, allocations: 226.4 kB / 329.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.007795, allocations: 1.812 kB / 329.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.00782, allocations: 10.62 kB / 329.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.007828, allocations: 5.625 kB / 329.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.008069, allocations: 134.8 kB / 329.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.009175, allocations: 0.7306 MB / 330.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.009468, allocations: 156.3 kB / 330.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.009573, allocations: 54.22 kB / 330.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.009587, allocations: 2.594 kB / 330.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.009622, allocations: 46.38 kB / 330.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.009623, allocations: 0 / 330.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004165/0.01004, allocations: 164.2 kB / 330.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.01012, allocations: 114.4 kB / 330.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.01033, allocations: 172.6 kB / 331 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01035, allocations: 34.89 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01048, allocations: 161.3 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.01055, allocations: 69.47 kB / 331.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.01064, allocations: 46.84 kB / 331.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01081, allocations: 328.5 kB / 331.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.123e-05/0.0109, allocations: 48.28 kB / 331.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.0111, allocations: 156.6 kB / 331.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.01141, allocations: 232.9 kB / 332 MB, free: 11.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.01141, allocations: 1.125 kB / 332 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004021/0.01182, allocations: 245.6 kB / 332.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.01184, allocations: 6.438 kB / 332.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.01185, allocations: 4.219 kB / 332.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.01187, allocations: 6.062 kB / 332.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.0121, allocations: 64.39 kB / 332.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.01212, allocations: 13.94 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.01228, allocations: 27.91 kB / 332.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.0123, allocations: 14.28 kB / 332.4 MB, free: 11.41 MB / 302.1 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 0.0001446/0.01244, allocations: 136.6 kB / 332.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.01252, allocations: 20.09 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.01258, allocations: 21.05 kB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.01259, allocations: 7.328 kB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.0126, allocations: 5.125 kB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.0126, allocations: 0 / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.01316, allocations: 348 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01316, allocations: 1.062 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.01336, allocations: 38.3 kB / 333 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.01336, allocations: 6.062 kB / 333 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.01338, allocations: 7.312 kB / 333 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01338, allocations: 1.062 kB / 333 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01339, allocations: 2.188 kB / 333 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.01386, allocations: 361.2 kB / 333.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.0139, allocations: 29.28 kB / 333.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.01392, allocations: 6.375 kB / 333.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01406, allocations: 5.938 kB / 333.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.01409, allocations: 13.52 kB / 333.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.0141, allocations: 5.125 kB / 333.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.01422, allocations: 128.3 kB / 333.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01422, allocations: 3.938 kB / 333.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.01461, allocations: 49.92 kB / 333.6 MB, free: 10.45 MB / 302.1 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.0001561/0.01477, allocations: 107.1 kB / 333.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.01507, allocations: 140.2 kB / 333.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01507, allocations: 0 / 333.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.01514, allocations: 50.42 kB / 333.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.01562, allocations: 31.41 kB / 333.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/0.01658, allocations: 0.5074 MB / 334.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.01672, allocations: 127.7 kB / 334.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.3e-05/0.0168, allocations: 17.11 kB / 334.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.01685, allocations: 18.78 kB / 334.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01685, allocations: 0 / 334.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of Templates: time 0.004986/0.02183, allocations: 1.408 MB / 336 MB, free: 9.016 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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: 4.284507937729359]