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.001377/0.001377, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001484/0.001484, allocations: 157.6 kB / 25.61 MB, free: 8.582 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 0.9565/0.9565, allocations: 177 MB / 205.9 MB, free: 4.434 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.052e-06/1.052e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.207e-06/1.026e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002043/0.002053, allocations: 2.25 MB / 276.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.002372, allocations: 194 kB / 276.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.002439, allocations: 8.531 kB / 276.5 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.773e-05/0.002497, allocations: 35.64 kB / 276.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.002608, allocations: 65.23 kB / 276.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.002727, allocations: 65.2 kB / 276.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.002883, allocations: 242.8 kB / 276.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.003015, allocations: 75 kB / 277 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.003135, allocations: 140.5 kB / 277.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.003229, allocations: 71.8 kB / 277.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.003254, allocations: 21.81 kB / 277.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.003276, allocations: 20 kB / 277.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.003308, allocations: 47.83 kB / 277.3 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.003361, allocations: 79.81 kB / 277.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.003507, allocations: 167.4 kB / 277.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003508, allocations: 0.7188 kB / 277.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003509, allocations: 3.938 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.003513, allocations: 4 kB / 277.6 MB, free: 0.8164 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.0004075/0.00392, allocations: 0.5352 MB / 278.1 MB, free: 248 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.003947, allocations: 8.031 kB / 278.1 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.003995, allocations: 44.8 kB / 278.1 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.004126, allocations: 160.3 kB / 278.3 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.00415, allocations: 24.95 kB / 278.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.004177, allocations: 28.23 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.004338, allocations: 187.3 kB / 278.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.004347, allocations: 4.188 kB / 278.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.00436, allocations: 8.375 kB / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.004368, allocations: 8.375 kB / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.004448, allocations: 74.19 kB / 278.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.00504, allocations: 0.911 MB / 279.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.005155, allocations: 145.4 kB / 279.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.005196, allocations: 50.98 kB / 279.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/0.005273, allocations: 4 kB / 279.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.00529, allocations: 37.39 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.005291, allocations: 0 / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001872/0.005478, allocations: 125.6 kB / 279.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.005515, allocations: 110.7 kB / 280 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.005615, allocations: 228.1 kB / 280.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.005625, allocations: 33.7 kB / 280.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.0057, allocations: 214.9 kB / 280.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.005734, allocations: 71.41 kB / 280.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.00578, allocations: 51.62 kB / 280.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.005881, allocations: 0.4962 MB / 281.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.005908, allocations: 20.55 kB / 281.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.006003, allocations: 176 kB / 281.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.006144, allocations: 227.3 kB / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.006146, allocations: 0 / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001814/0.006327, allocations: 205.1 kB / 281.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006339, allocations: 8 kB / 281.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.006344, allocations: 4 kB / 281.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.006354, allocations: 8 kB / 281.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.006471, allocations: 55.92 kB / 281.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.006477, allocations: 16.3 kB / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.006543, allocations: 31.78 kB / 281.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.006553, allocations: 12 kB / 281.8 MB, free: 12.12 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.493e-05/0.006628, allocations: 180.4 kB / 282 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.006672, allocations: 16.14 kB / 282 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.006706, allocations: 25.45 kB / 282.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006707, allocations: 0 / 282.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00671, allocations: 3.938 kB / 282.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.006715, allocations: 7.984 kB / 282.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.006988, allocations: 360.9 kB / 282.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.00699, allocations: 4 kB / 282.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.007088, allocations: 35.92 kB / 282.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.00709, allocations: 4 kB / 282.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.0071, allocations: 7.938 kB / 282.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007101, allocations: 4 kB / 282.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007102, allocations: 0 / 282.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.00731, allocations: 425.9 kB / 282.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.007327, allocations: 23.88 kB / 282.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.007343, allocations: 8.031 kB / 282.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.007411, allocations: 8 kB / 282.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.007428, allocations: 11.98 kB / 282.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.007432, allocations: 0 / 282.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.951e-05/0.007481, allocations: 160.8 kB / 283.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007481, allocations: 0 / 283.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.007701, allocations: 55.89 kB / 283.2 MB, free: 10.71 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.618e-05/0.007767, allocations: 107.1 kB / 283.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.007898, allocations: 111.7 kB / 283.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.0079, allocations: 0 / 283.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.007937, allocations: 43.59 kB / 283.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.008295, allocations: 32.64 kB / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.008875, allocations: 0.5298 MB / 284 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.008924, allocations: 83.83 kB / 284.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.008974, allocations: 17.64 kB / 284.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.009051, allocations: 98.19 kB / 284.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.009052, allocations: 0 / 284.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of Templates: time 0.00285/0.0119, allocations: 1.592 MB / 285.8 MB, free: 8.059 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.6536254878155887]