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.0009702/0.0009702, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.0009713/0.0009713, allocations: 150.8 kB / 24.81 MB, free: 9.273 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 1.015/1.015, allocations: 173.4 MB / 201.4 MB, free: 9.223 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.473e-06/1.473e-06, allocations: 0 / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.829e-05, allocations: 10.25 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002293/0.002311, allocations: 2.228 MB / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000386/0.002697, allocations: 191.3 kB / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.002784, allocations: 7.938 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.002849, allocations: 35.64 kB / 270.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.002983, allocations: 71.3 kB / 270.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.003122, allocations: 55.92 kB / 271 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.003289, allocations: 242.8 kB / 271.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.003437, allocations: 75.02 kB / 271.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.003578, allocations: 143.7 kB / 271.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.003687, allocations: 71.8 kB / 271.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.003716, allocations: 20 kB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.003743, allocations: 24 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.003777, allocations: 47.83 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.003844, allocations: 83.81 kB / 271.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.004025, allocations: 167.3 kB / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004026, allocations: 0 / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004027, allocations: 0 / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.00403, allocations: 0 / 271.8 MB, free: 2.758 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.0004863/0.004517, allocations: 0.5391 MB / 272.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.004554, allocations: 8.922 kB / 272.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.004606, allocations: 48.78 kB / 272.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.004749, allocations: 156.3 kB / 272.6 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.004766, allocations: 20.88 kB / 272.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.004798, allocations: 20.38 kB / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004988, allocations: 195.3 kB / 272.8 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.005001, allocations: 4.141 kB / 272.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.005015, allocations: 8.375 kB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.005024, allocations: 12.38 kB / 272.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.005109, allocations: 79.25 kB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.005822, allocations: 0.9069 MB / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.005949, allocations: 145.4 kB / 274 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.006212, allocations: 58.97 kB / 274 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.006222, allocations: 4 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.006242, allocations: 41.39 kB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.006243, allocations: 0 / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001968/0.00644, allocations: 125.6 kB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.006476, allocations: 110.7 kB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.006591, allocations: 230.8 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006602, allocations: 25.7 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.006679, allocations: 210.9 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.006716, allocations: 75.39 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.006782, allocations: 51.62 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.006892, allocations: 0.4962 MB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.00692, allocations: 20.55 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/0.007012, allocations: 184 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.007158, allocations: 227.3 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.007161, allocations: 0 / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001901/0.007351, allocations: 201.6 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.007365, allocations: 11.94 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.007372, allocations: 8 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.007384, allocations: 4 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.007507, allocations: 55.92 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007513, allocations: 11.92 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.00758, allocations: 27.78 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.00759, allocations: 12 kB / 276.1 MB, free: 14.04 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 7.304e-05/0.007663, allocations: 176.5 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.007709, allocations: 19.94 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.007743, allocations: 25.47 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007744, allocations: 0 / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.007749, allocations: 11.92 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007753, allocations: 0 / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.008048, allocations: 360.9 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00805, allocations: 4 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.008153, allocations: 35.92 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008155, allocations: 4 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.008166, allocations: 11.94 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008168, allocations: 4.094 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.00817, allocations: 4 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.008396, allocations: 424.9 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.008414, allocations: 23.83 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.008431, allocations: 7.938 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.008499, allocations: 4 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.008517, allocations: 11.98 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.008523, allocations: 4 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.008579, allocations: 156.8 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008579, allocations: 0 / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.008821, allocations: 59.89 kB / 277.4 MB, free: 12.64 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 8.201e-05/0.008903, allocations: 107.2 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.009045, allocations: 107.4 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009046, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.009085, allocations: 48.47 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.009377, allocations: 36.89 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.009944, allocations: 0.5228 MB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.009991, allocations: 79.92 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.01005, allocations: 21.64 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.01012, allocations: 94.19 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01013, allocations: 0 / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.003475/0.0136, allocations: 1.564 MB / 280 MB, free: 10 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.678005340974778]