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.0008097/0.0008097, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.003136/0.003136, allocations: 161.4 kB / 24.7 MB, free: 9.438 MB / 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.8194/0.8194, allocations: 177.1 MB / 205 MB, free: 5.73 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.344e-06/2.344e-06, allocations: 4 kB / 325.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.406e-05, allocations: 6.281 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002191/0.002215, allocations: 2.15 MB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.002532, allocations: 195.3 kB / 328.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.002623, allocations: 8 kB / 328.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.681e-05/0.0027, allocations: 39.64 kB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.002837, allocations: 59.36 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.003009, allocations: 63.84 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.003187, allocations: 238.8 kB / 328.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.003608, allocations: 74.92 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.003728, allocations: 147.7 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.003823, allocations: 71.72 kB / 328.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.003857, allocations: 24 kB / 328.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.003877, allocations: 20 kB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.003909, allocations: 47.83 kB / 328.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.003961, allocations: 79.83 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.004161, allocations: 259.2 kB / 329.3 MB, free: 12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004163, allocations: 0 / 329.3 MB, free: 12 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.004164, allocations: 0 / 329.3 MB, free: 12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004169, allocations: 0 / 329.3 MB, free: 12 MB / 298.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.0004879/0.004656, allocations: 448.9 kB / 329.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004691, allocations: 12.03 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.004734, allocations: 24.8 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.004899, allocations: 160.1 kB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.004914, allocations: 16.88 kB / 329.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.004946, allocations: 28.33 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.005191, allocations: 232 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.005204, allocations: 192 / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.00522, allocations: 8.375 kB / 330.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005227, allocations: 8.375 kB / 330.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.005384, allocations: 135.8 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.006056, allocations: 0.7319 MB / 331 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.006217, allocations: 152 kB / 331.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.006281, allocations: 62.44 kB / 331.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.006291, allocations: 4 kB / 331.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.006308, allocations: 34.56 kB / 331.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.00631, allocations: 0 / 331.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002633/0.006573, allocations: 165.6 kB / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.006617, allocations: 122.7 kB / 331.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.00673, allocations: 176.4 kB / 331.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.00674, allocations: 25.7 kB / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.00681, allocations: 164.2 kB / 331.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.006846, allocations: 67.42 kB / 332 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.006893, allocations: 53.98 kB / 332.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.006964, allocations: 326.8 kB / 332.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.007019, allocations: 44.55 kB / 332.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.007117, allocations: 159.3 kB / 332.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.007291, allocations: 230.1 kB / 332.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007293, allocations: 4 kB / 332.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000218/0.007511, allocations: 241.2 kB / 333 MB, free: 7.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.007525, allocations: 8 kB / 333 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.007532, allocations: 4.438 kB / 333 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.007545, allocations: 8 kB / 333.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.007663, allocations: 55.92 kB / 333.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.007675, allocations: 11.88 kB / 333.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.007741, allocations: 31.77 kB / 333.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.007752, allocations: 16 kB / 333.2 MB, free: 7.762 MB / 298.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.466e-05/0.007827, allocations: 137.8 kB / 333.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.007862, allocations: 15.91 kB / 333.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.007891, allocations: 21.47 kB / 333.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.007895, allocations: 4 kB / 333.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.0079, allocations: 3.938 kB / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007905, allocations: 7.984 kB / 333.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.008191, allocations: 340.6 kB / 333.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008193, allocations: 0 / 333.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.008296, allocations: 39.92 kB / 333.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008299, allocations: 3.938 kB / 333.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.008309, allocations: 8 kB / 333.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008312, allocations: 3.984 kB / 333.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008314, allocations: 4 kB / 333.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.008557, allocations: 369.3 kB / 334.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.008573, allocations: 23.78 kB / 334.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.008589, allocations: 4 kB / 334.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.008659, allocations: 4 kB / 334.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.008679, allocations: 16.02 kB / 334.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.008684, allocations: 11.94 kB / 334.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.008741, allocations: 124.9 kB / 334.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008741, allocations: 0 / 334.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.008954, allocations: 51.95 kB / 334.3 MB, free: 6.512 MB / 298.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.333e-05/0.009027, allocations: 107.1 kB / 334.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.009202, allocations: 139.6 kB / 334.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009204, allocations: 0 / 334.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.009252, allocations: 51.86 kB / 334.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.009554, allocations: 35.95 kB / 334.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.01015, allocations: 0.5316 MB / 335.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.01023, allocations: 121.2 kB / 335.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.01027, allocations: 20.5 kB / 335.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01027, allocations: 0 / 335.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of Templates: time 0.002764/0.01303, allocations: 2.328 MB / 337.7 MB, free: 3.117 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2243222165852785]