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.002579/0.002579, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002837/0.002837, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 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 1.526/1.526, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.372e-06/1.372e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.895e-05, allocations: 6.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003878/0.003907, allocations: 2.228 MB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.004363, allocations: 191.3 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.004448, allocations: 4 kB / 269.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.004543, allocations: 35.64 kB / 269.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.004722, allocations: 67.36 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.004893, allocations: 55.86 kB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.00519, allocations: 246.8 kB / 270.1 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.005384, allocations: 79.02 kB / 270.2 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.005609, allocations: 139.8 kB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.00577, allocations: 75.77 kB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.005816, allocations: 20 kB / 270.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.005863, allocations: 24 kB / 270.5 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.005924, allocations: 43.83 kB / 270.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.006038, allocations: 87.81 kB / 270.6 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.006394, allocations: 259.1 kB / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.006398, allocations: 0 / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.006399, allocations: 0 / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006405, allocations: 4 kB / 270.8 MB, free: 3.18 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.0008967/0.007301, allocations: 0.5466 MB / 271.4 MB, free: 2.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.007344, allocations: 12.92 kB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.007444, allocations: 40.8 kB / 271.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.007696, allocations: 168.3 kB / 271.6 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.007719, allocations: 20.88 kB / 271.6 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.007766, allocations: 20.38 kB / 271.6 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.00821, allocations: 251.3 kB / 271.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.008229, allocations: 8.141 kB / 271.9 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.008254, allocations: 8.375 kB / 271.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.008265, allocations: 8.375 kB / 271.9 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.008547, allocations: 127.3 kB / 272 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.01002, allocations: 0.9736 MB / 273 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.01033, allocations: 185.1 kB / 273.2 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.01047, allocations: 74.98 kB / 273.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.01049, allocations: 4 kB / 273.3 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.01053, allocations: 37.39 kB / 273.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/0.01053, allocations: 0 / 273.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004412/0.01097, allocations: 173.7 kB / 273.5 MB, free: 344 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.01107, allocations: 110.8 kB / 273.6 MB, free: 208 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.01135, allocations: 250.8 kB / 273.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01138, allocations: 29.7 kB / 273.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.01155, allocations: 214.9 kB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.01163, allocations: 75.41 kB / 274.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01173, allocations: 59.66 kB / 274.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/0.01204, allocations: 0.5079 MB / 274.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.01214, allocations: 48.55 kB / 274.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.01241, allocations: 204.8 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.01281, allocations: 279.4 kB / 275.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.01282, allocations: 4 kB / 275.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004694/0.01329, allocations: 257.2 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.01331, allocations: 4 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.01332, allocations: 4 kB / 275.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.01334, allocations: 8 kB / 275.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.01359, allocations: 51.92 kB / 275.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.01361, allocations: 16.36 kB / 275.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.01378, allocations: 31.78 kB / 275.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.0138, allocations: 15.94 kB / 275.6 MB, free: 13.98 MB / 266.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 0.0002039/0.01401, allocations: 184.5 kB / 275.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.0141, allocations: 20.09 kB / 275.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/0.01417, allocations: 25.45 kB / 275.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.01418, allocations: 7.984 kB / 275.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.0142, allocations: 3.938 kB / 275.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01421, allocations: 0 / 275.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.01489, allocations: 432.4 kB / 276.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01489, allocations: 0 / 276.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.01511, allocations: 39.92 kB / 276.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.01512, allocations: 11.94 kB / 276.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.01514, allocations: 3.984 kB / 276.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01514, allocations: 4 kB / 276.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01515, allocations: 3.938 kB / 276.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.0157, allocations: 485.9 kB / 276.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.01574, allocations: 23.78 kB / 276.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01577, allocations: 4 kB / 276.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.0159, allocations: 8.062 kB / 276.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01594, allocations: 15.97 kB / 276.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.01595, allocations: 4 kB / 276.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.01611, allocations: 168.8 kB / 277 MB, free: 12.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01611, allocations: 4 kB / 277 MB, free: 12.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.01649, allocations: 51.95 kB / 277.1 MB, free: 12.41 MB / 266.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.000163/0.01665, allocations: 103.1 kB / 277.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01699, allocations: 162.3 kB / 277.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01699, allocations: 0 / 277.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01711, allocations: 67.59 kB / 277.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.01758, allocations: 32.7 kB / 277.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.0186, allocations: 0.5235 MB / 278 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.01875, allocations: 129.1 kB / 278.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.01883, allocations: 21.64 kB / 278.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.01888, allocations: 16.5 kB / 278.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01888, allocations: 0 / 278.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.005338/0.02422, allocations: 1.444 MB / 279.6 MB, free: 9.863 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.463503316044807]