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.0009238/0.0009238, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001014/0.001014, allocations: 147.1 kB / 24.9 MB, free: 8.727 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 0.9737/0.9737, allocations: 173.4 MB / 201.5 MB, free: 8.727 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 2.023e-06/2.023e-06, allocations: 3.938 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.875e-05, allocations: 10.05 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004091/0.00412, allocations: 2.281 MB / 270.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.00481, allocations: 207.1 kB / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.004921, allocations: 11.94 kB / 271 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.861e-05/0.00502, allocations: 35.64 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.005502, allocations: 67.34 kB / 271.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.005709, allocations: 55.92 kB / 271.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.006012, allocations: 234.9 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.006249, allocations: 85.61 kB / 271.5 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.006496, allocations: 139.7 kB / 271.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.006685, allocations: 71.78 kB / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.006729, allocations: 24 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.006764, allocations: 20 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.006813, allocations: 51.81 kB / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.218e-05/0.006895, allocations: 79.83 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.007152, allocations: 155.4 kB / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007156, allocations: 8 kB / 272 MB, free: 2.457 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.007157, allocations: 0 / 272 MB, free: 2.457 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.007167, allocations: 0 / 272 MB, free: 2.457 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.0006198/0.007786, allocations: 416.4 kB / 272.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.007827, allocations: 16.86 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.007898, allocations: 40.91 kB / 272.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.008101, allocations: 141.5 kB / 272.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.008122, allocations: 16.88 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.008162, allocations: 24.38 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.008431, allocations: 184 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.00845, allocations: 4.141 kB / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.008471, allocations: 12.38 kB / 272.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.008481, allocations: 4.375 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.008624, allocations: 63.83 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.009568, allocations: 0.6597 MB / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.00973, allocations: 115.7 kB / 273.7 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.009793, allocations: 38.88 kB / 273.7 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.009808, allocations: 7.938 kB / 273.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.009839, allocations: 38.56 kB / 273.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.00984, allocations: 0 / 273.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002664/0.01011, allocations: 102.1 kB / 273.9 MB, free: 452 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.01017, allocations: 106.8 kB / 274 MB, free: 320 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.01028, allocations: 187.4 kB / 274.2 MB, free: 116 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.01029, allocations: 25.7 kB / 274.2 MB, free: 84 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.01037, allocations: 164.2 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.0104, allocations: 67.42 kB / 274.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01047, allocations: 49.97 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01057, allocations: 330.8 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.0106, allocations: 16.56 kB / 274.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.0107, allocations: 130.8 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.01085, allocations: 189.4 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01086, allocations: 4 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001912/0.01105, allocations: 161.3 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01107, allocations: 8 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.01108, allocations: 4.438 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.01111, allocations: 7.938 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.01134, allocations: 78.19 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01134, allocations: 4 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.01142, allocations: 27.78 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.01144, allocations: 16 kB / 275.4 MB, free: 14.73 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 9.754e-05/0.01154, allocations: 133.7 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.01158, allocations: 8 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.01164, allocations: 25.64 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01164, allocations: 4 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.01165, allocations: 15.86 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01165, allocations: 4 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.01199, allocations: 261.2 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.012, allocations: 4 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.01217, allocations: 35.98 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.01218, allocations: 11.92 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01219, allocations: 4 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.0122, allocations: 7.938 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.0122, allocations: 0 / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.01247, allocations: 301.4 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.0125, allocations: 31.77 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01251, allocations: 0 / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.01259, allocations: 8 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.01261, allocations: 11.92 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01262, allocations: 11.92 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.01266, allocations: 42.45 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01266, allocations: 0 / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.0129, allocations: 55.89 kB / 276.4 MB, free: 13.7 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 0.0001354/0.01304, allocations: 92.41 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.0132, allocations: 100.5 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.01321, allocations: 4 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.01325, allocations: 41.25 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.01355, allocations: 44.84 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.01421, allocations: 454.2 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.01427, allocations: 75.98 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.01434, allocations: 25.62 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01444, allocations: 79.36 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01444, allocations: 0 / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Templates: time 0.003976/0.01842, allocations: 1.648 MB / 278.9 MB, free: 11.11 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 -s gbode -gbm=radauIIA3 -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.656083201058209]