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.0009836/0.0009836, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001465/0.001465, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9783/0.9783, allocations: 177.1 MB / 205 MB, free: 5.625 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 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.513e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002478/0.002503, allocations: 2.274 MB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000479/0.002982, allocations: 195.3 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.003072, allocations: 4 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.436e-05/0.003147, allocations: 39.64 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.003294, allocations: 63.36 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.00346, allocations: 55.86 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.003684, allocations: 246.8 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.003844, allocations: 71.02 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.003989, allocations: 143.7 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.0041, allocations: 79.77 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.004138, allocations: 20 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.004165, allocations: 24 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.004199, allocations: 43.83 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.004261, allocations: 79.83 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.004447, allocations: 159.4 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.00445, allocations: 3.938 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004451, allocations: 4 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.004457, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.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.0005335/0.00499, allocations: 0.5353 MB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.005028, allocations: 8.031 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.67e-05/0.005094, allocations: 44.8 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.005264, allocations: 171.6 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.00528, allocations: 16.88 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.005313, allocations: 28.36 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.005549, allocations: 199.3 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.005563, allocations: 4.188 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.005579, allocations: 8.375 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.005589, allocations: 8.375 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.005711, allocations: 79.81 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.00648, allocations: 0.9189 MB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.006633, allocations: 149.2 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.006693, allocations: 51.05 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.006705, allocations: 4 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.006727, allocations: 37.39 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.006728, allocations: 0 / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002588/0.006987, allocations: 141.7 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.007027, allocations: 106.8 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.007157, allocations: 230.8 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.007169, allocations: 29.7 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.007253, allocations: 214.9 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.007289, allocations: 67.42 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.007345, allocations: 63.55 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007461, allocations: 0.4962 MB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.007507, allocations: 24.55 kB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.007613, allocations: 184 kB / 280.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.007791, allocations: 227.4 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.007796, allocations: 8 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002292/0.008025, allocations: 221.1 kB / 280.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.008039, allocations: 8 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.008046, allocations: 4 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.00806, allocations: 4 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.008189, allocations: 56.36 kB / 280.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.008201, allocations: 19.86 kB / 280.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.00827, allocations: 27.78 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.008284, allocations: 16.19 kB / 280.8 MB, free: 9.266 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 8.527e-05/0.008369, allocations: 168.5 kB / 281 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.008414, allocations: 23.91 kB / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.008452, allocations: 25.44 kB / 281 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.008456, allocations: 4 kB / 281 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.008461, allocations: 3.938 kB / 281 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008465, allocations: 0 / 281 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.008788, allocations: 392.3 kB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.00879, allocations: 4 kB / 281.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.008902, allocations: 35.92 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.008908, allocations: 11.92 kB / 281.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.008921, allocations: 8 kB / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.008923, allocations: 0 / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008924, allocations: 0 / 281.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.009198, allocations: 440.1 kB / 281.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.009214, allocations: 15.84 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.009234, allocations: 12.09 kB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.009304, allocations: 4 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.009329, allocations: 15.97 kB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.009335, allocations: 4 kB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.0094, allocations: 160.8 kB / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0094, allocations: 0 / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.009639, allocations: 55.89 kB / 282.2 MB, free: 7.816 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 7.955e-05/0.009718, allocations: 111.1 kB / 282.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.009896, allocations: 119.4 kB / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009898, allocations: 0 / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.009943, allocations: 55.55 kB / 282.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01024, allocations: 31.92 kB / 282.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.01086, allocations: 0.5121 MB / 283 MB, free: 6.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.01091, allocations: 79.98 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.01097, allocations: 17.64 kB / 283.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.01101, allocations: 20.5 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01101, allocations: 0 / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of Templates: time 0.003284/0.01429, allocations: 1.507 MB / 284.6 MB, free: 5.32 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.6126933959312737]