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.001061/0.001061, allocations: 76.41 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001686/0.001686, allocations: 168.6 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9906/0.9906, allocations: 177.1 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.183e-06/1.183e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.004e-05, allocations: 3.031 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002302/0.002322, allocations: 2.247 MB / 276.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003718/0.002694, allocations: 198.2 kB / 276.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.002771, allocations: 4 kB / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.05e-05/0.002832, allocations: 36.14 kB / 276.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.002966, allocations: 68.67 kB / 276.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.00312, allocations: 56.48 kB / 276.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.0033, allocations: 244.9 kB / 277 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.003441, allocations: 75.02 kB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.003564, allocations: 135.8 kB / 277.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.003668, allocations: 79.77 kB / 277.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.003695, allocations: 20 kB / 277.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/0.003718, allocations: 21.94 kB / 277.3 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.003751, allocations: 47.83 kB / 277.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.003809, allocations: 75.83 kB / 277.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.003975, allocations: 171.3 kB / 277.6 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003978, allocations: 0 / 277.6 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.003979, allocations: 0 / 277.6 MB, free: 1 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.003983, allocations: 0.5938 kB / 277.6 MB, free: 1 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.0004404/0.004423, allocations: 0.5391 MB / 278.2 MB, free: 432 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.004453, allocations: 12.03 kB / 278.2 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.004501, allocations: 40.8 kB / 278.2 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.004637, allocations: 160.3 kB / 278.4 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.00465, allocations: 16.88 kB / 278.4 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.00468, allocations: 32.33 kB / 278.4 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.004861, allocations: 187.3 kB / 278.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.004875, allocations: 4.172 kB / 278.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.004891, allocations: 16.36 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.004897, allocations: 4.375 kB / 278.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.001e-05/0.004987, allocations: 74.77 kB / 278.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.005675, allocations: 0.9149 MB / 279.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.005805, allocations: 149.3 kB / 279.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.005851, allocations: 51.03 kB / 279.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.005859, allocations: 0 / 279.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.005878, allocations: 37.39 kB / 279.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.00588, allocations: 0 / 279.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002187/0.006098, allocations: 129.8 kB / 280 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.006142, allocations: 110.8 kB / 280.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006246, allocations: 228.1 kB / 280.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.006257, allocations: 25.7 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.006333, allocations: 210.9 kB / 280.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.006368, allocations: 75.41 kB / 280.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.006425, allocations: 55.62 kB / 280.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.006567, allocations: 0.5001 MB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.006598, allocations: 20.55 kB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.006691, allocations: 176 kB / 281.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.00684, allocations: 218.8 kB / 281.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006843, allocations: 0 / 281.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001956/0.007038, allocations: 205.8 kB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.007049, allocations: 4 kB / 281.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.007056, allocations: 7.938 kB / 281.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.007067, allocations: 11.98 kB / 281.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.007188, allocations: 59.91 kB / 281.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.007198, allocations: 20.02 kB / 281.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.007267, allocations: 28.22 kB / 281.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.007278, allocations: 16 kB / 281.9 MB, free: 12.29 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.654e-05/0.007355, allocations: 172.5 kB / 282.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.007401, allocations: 15.95 kB / 282.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.007437, allocations: 21.47 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.00744, allocations: 4 kB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007445, allocations: 3.938 kB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.007448, allocations: 0 / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.007745, allocations: 364.9 kB / 282.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007746, allocations: 4.094 kB / 282.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.007855, allocations: 43.91 kB / 282.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.007859, allocations: 4 kB / 282.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.007873, allocations: 7.938 kB / 282.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.007875, allocations: 4 kB / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.007876, allocations: 0 / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.008179, allocations: 421.9 kB / 283 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.008199, allocations: 19.91 kB / 283 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.008215, allocations: 3.938 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.008284, allocations: 11.98 kB / 283 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.008302, allocations: 11.98 kB / 283 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.008309, allocations: 4 kB / 283 MB, free: 11.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.209e-05/0.008371, allocations: 160.8 kB / 283.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008371, allocations: 0 / 283.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.008611, allocations: 51.89 kB / 283.2 MB, free: 10.89 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.312e-05/0.008695, allocations: 107.1 kB / 283.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.008841, allocations: 116.1 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008844, allocations: 4 kB / 283.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.008882, allocations: 39.61 kB / 283.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.009165, allocations: 35.84 kB / 283.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.009709, allocations: 0.5155 MB / 284 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.009758, allocations: 79.84 kB / 284.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.009813, allocations: 25.56 kB / 284.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.009888, allocations: 102.2 kB / 284.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009889, allocations: 0 / 284.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of Templates: time 0.003177/0.01307, allocations: 1.598 MB / 285.8 MB, free: 8.227 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] 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","",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.8366938019171357]