Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009929/0.0009929, allocations: 167 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.247e-06/1.04e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002432/0.002443, allocations: 2.256 MB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002991/0.002742, allocations: 219 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.002808, allocations: 4 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.857e-05/0.002867, allocations: 35.64 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.002981, allocations: 63.36 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.003098, allocations: 55.92 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.003258, allocations: 246.8 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.003398, allocations: 81.61 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.00352, allocations: 135.8 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.00362, allocations: 75.78 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.003647, allocations: 20 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.00367, allocations: 24 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.003704, allocations: 47.81 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.003756, allocations: 79.83 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.003913, allocations: 163.3 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.003914, allocations: 0 / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003915, allocations: 0 / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.003918, allocations: 4 kB / 276.8 MB, free: 13.72 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.0003849/0.004303, allocations: 420.4 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.004331, allocations: 11.98 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.004373, allocations: 36.91 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.004491, allocations: 141.5 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004504, allocations: 24.88 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.004532, allocations: 20.33 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.004689, allocations: 192 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.0047, allocations: 192 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.004714, allocations: 8.375 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.004722, allocations: 8.375 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.004794, allocations: 63.83 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.005592, allocations: 0.6676 MB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.005699, allocations: 115.6 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.005735, allocations: 34.89 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.005744, allocations: 0 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.005766, allocations: 38.55 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.11e-07/0.005767, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001641/0.005931, allocations: 106.1 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.005969, allocations: 106.8 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.006056, allocations: 179.4 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006067, allocations: 25.7 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.00613, allocations: 168.1 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.00616, allocations: 63.42 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.006203, allocations: 53.92 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.006282, allocations: 330.8 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.006304, allocations: 16.56 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.00638, allocations: 138.7 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.006497, allocations: 181.5 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006499, allocations: 0 / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001509/0.00665, allocations: 173.2 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006661, allocations: 6.812 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.006669, allocations: 4 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.006687, allocations: 8 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.006812, allocations: 59.91 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.006817, allocations: 12.38 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.006879, allocations: 27.83 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.006889, allocations: 12 kB / 280.2 MB, free: 10 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 6.249e-05/0.006952, allocations: 125.7 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.006987, allocations: 20.17 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.007016, allocations: 25.45 kB / 280.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.007019, allocations: 3.984 kB / 280.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.007022, allocations: 4 kB / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.007025, allocations: 3.938 kB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.00726, allocations: 269.2 kB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007262, allocations: 3.984 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.007355, allocations: 43.92 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007357, allocations: 0 / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007365, allocations: 4 kB / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007367, allocations: 7.875 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007368, allocations: 0 / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.00753, allocations: 309.2 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.007544, allocations: 19.83 kB / 281.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.00756, allocations: 11.94 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.007627, allocations: 4.094 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.007646, allocations: 19.97 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.007649, allocations: 0 / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.595e-05/0.007675, allocations: 42.45 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007675, allocations: 0 / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.007872, allocations: 55.89 kB / 281.2 MB, free: 8.977 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 6.723e-05/0.007939, allocations: 88.34 kB / 281.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.008048, allocations: 100.9 kB / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.008052, allocations: 0 / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.008084, allocations: 41.41 kB / 281.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.008297, allocations: 39.33 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.008739, allocations: 451 kB / 281.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.008782, allocations: 75.98 kB / 282 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.008831, allocations: 21.62 kB / 282 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.008926, allocations: 79.36 kB / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008926, allocations: 0 / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of Templates: time 0.002806/0.01173, allocations: 1.573 MB / 283.6 MB, free: 6.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.737753566354513]