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.0009734/0.0009734, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009971/0.0009971, allocations: 141.8 kB / 24.98 MB, free: 8.812 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.9319/0.9319, allocations: 173.4 MB / 201.5 MB, free: 9.332 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 1.553e-06/1.553e-06, allocations: 3.938 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.699e-05, allocations: 2.312 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002457/0.002484, allocations: 2.239 MB / 270.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.002886, allocations: 199.2 kB / 270.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.002959, allocations: 8 kB / 270.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.808e-05/0.003027, allocations: 35.64 kB / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.003152, allocations: 63.36 kB / 270.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.003297, allocations: 59.86 kB / 270.7 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003476, allocations: 238.8 kB / 270.9 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.003627, allocations: 79 kB / 271 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.003757, allocations: 139.8 kB / 271.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/0.003855, allocations: 75.78 kB / 271.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.003887, allocations: 24 kB / 271.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.003908, allocations: 27.94 kB / 271.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.00394, allocations: 43.83 kB / 271.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.004001, allocations: 83.81 kB / 271.4 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004186, allocations: 159.4 kB / 271.5 MB, free: 3.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004189, allocations: 0 / 271.5 MB, free: 3.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00419, allocations: 7.938 kB / 271.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004195, allocations: 0 / 271.5 MB, free: 3.262 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.0004705/0.004665, allocations: 0.5314 MB / 272 MB, free: 2.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.004697, allocations: 8.922 kB / 272.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.004759, allocations: 44.8 kB / 272.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.004911, allocations: 168.2 kB / 272.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.004925, allocations: 12.88 kB / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.004956, allocations: 24.38 kB / 272.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.005183, allocations: 203.4 kB / 272.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.005196, allocations: 8.125 kB / 272.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.005212, allocations: 12.38 kB / 272.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.00522, allocations: 8.375 kB / 272.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.005343, allocations: 87.33 kB / 272.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.00604, allocations: 0.9149 MB / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.006191, allocations: 149.2 kB / 273.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.735e-05/0.006249, allocations: 55.05 kB / 273.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.006258, allocations: 8 kB / 273.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.006277, allocations: 41.33 kB / 273.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.163e-06/0.006278, allocations: 4 kB / 273.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002323/0.006511, allocations: 133.8 kB / 273.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.00655, allocations: 110.8 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.006668, allocations: 226.9 kB / 274.2 MB, free: 292 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.006681, allocations: 29.7 kB / 274.3 MB, free: 256 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.00676, allocations: 206.9 kB / 274.5 MB, free: 44 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.006801, allocations: 67.58 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.006852, allocations: 55.66 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.006963, allocations: 0.4962 MB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.007011, allocations: 36.48 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.007118, allocations: 180 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.007293, allocations: 235.4 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.007295, allocations: 0 / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000212/0.007507, allocations: 213.5 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007519, allocations: 8 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.007525, allocations: 4 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.007538, allocations: 4 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.007662, allocations: 59.92 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.007672, allocations: 23.8 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.00774, allocations: 27.78 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.007749, allocations: 8 kB / 275.9 MB, free: 14.48 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.448e-05/0.007823, allocations: 172.5 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.007865, allocations: 24 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.007903, allocations: 29.45 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007906, allocations: 4 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.007911, allocations: 3.938 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007916, allocations: 4 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.008253, allocations: 392.2 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.008255, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.008368, allocations: 39.98 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008371, allocations: 3.938 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.008384, allocations: 12.08 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008386, allocations: 0 / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008388, allocations: 4 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.00865, allocations: 440.7 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.008669, allocations: 24.02 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.008686, allocations: 4 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.008757, allocations: 8 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.008779, allocations: 15.95 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.008785, allocations: 7.938 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.382e-05/0.008849, allocations: 164.8 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008849, allocations: 4 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.009086, allocations: 55.89 kB / 277.2 MB, free: 13 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.563e-05/0.009162, allocations: 95.25 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.009327, allocations: 119.4 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009328, allocations: 0.875 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.009374, allocations: 47.67 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.009671, allocations: 40.64 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.01026, allocations: 0.5149 MB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.01031, allocations: 75.98 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01037, allocations: 21.64 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.0104, allocations: 16.5 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0104, allocations: 0 / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.003036/0.01344, allocations: 1.444 MB / 279.6 MB, free: 10.58 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 -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.6419070279225707]