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.001843/0.001843, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002332/0.002332, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.588/1.588, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001622/0.001622, allocations: 47.92 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 53.34 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.006773/0.1343, allocations: 2.276 MB / 429.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.1351, allocations: 195.3 kB / 429.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1353, allocations: 7.938 kB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1354, allocations: 35.64 kB / 429.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.1358, allocations: 59.42 kB / 429.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1362, allocations: 55.94 kB / 429.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006534/0.1368, allocations: 231 kB / 429.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.1371, allocations: 78.61 kB / 429.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1374, allocations: 95.7 kB / 429.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.1377, allocations: 103.5 kB / 429.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.1378, allocations: 20 kB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.1379, allocations: 23.94 kB / 430 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.138, allocations: 47.84 kB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1382, allocations: 115.4 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.1387, allocations: 254.9 kB / 430.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1387, allocations: 3.984 kB / 430.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1387, allocations: 4 kB / 430.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.1388, allocations: 0 / 430.4 MB, free: 0.707 MB / 350.1 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.001441/0.1402, allocations: 0.5029 MB / 430.9 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.1403, allocations: 8.031 kB / 430.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1404, allocations: 32.73 kB / 430.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2357/0.3761, allocations: 224.9 kB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3761, allocations: 14.88 kB / 431.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.3761, allocations: 22.59 kB / 431.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.3766, allocations: 230 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3766, allocations: 4.812 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.3766, allocations: 8.125 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.3766, allocations: 6.562 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3769, allocations: 135.8 kB / 431.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3779, allocations: 0.8608 MB / 432.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3781, allocations: 148.7 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.3782, allocations: 59.86 kB / 432.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3782, allocations: 4.672 kB / 432.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3783, allocations: 41.64 kB / 432.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.604e-06/0.3783, allocations: 1.766 kB / 432.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003893/0.3787, allocations: 173 kB / 432.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3787, allocations: 106.8 kB / 432.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3789, allocations: 196.9 kB / 433.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3789, allocations: 28.95 kB / 433.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.3789, allocations: 162.3 kB / 433.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.379, allocations: 67.31 kB / 433.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.3791, allocations: 58.73 kB / 433.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.3791, allocations: 332.3 kB / 433.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.3792, allocations: 43.55 kB / 433.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3793, allocations: 154.5 kB / 434 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3795, allocations: 221.4 kB / 434.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3795, allocations: 7.906 kB / 434.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003256/0.3798, allocations: 236.4 kB / 434.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3798, allocations: 8.344 kB / 434.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3798, allocations: 4.344 kB / 434.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3799, allocations: 9.641 kB / 434.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.3801, allocations: 60.17 kB / 434.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3801, allocations: 13.56 kB / 434.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3802, allocations: 34.86 kB / 434.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3802, allocations: 10.03 kB / 434.5 MB, free: 9.273 MB / 350.1 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 8.054e-05/0.3803, allocations: 142.9 kB / 434.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.3804, allocations: 22.11 kB / 434.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.3804, allocations: 19.16 kB / 434.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3804, allocations: 9.484 kB / 434.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3804, allocations: 1.219 kB / 434.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3804, allocations: 6.734 kB / 434.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3809, allocations: 421.6 kB / 435.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3809, allocations: 1.375 kB / 435.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.3811, allocations: 38.69 kB / 435.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3811, allocations: 2.125 kB / 435.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3811, allocations: 10.5 kB / 435.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3811, allocations: 4.625 kB / 435.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3811, allocations: 1.125 kB / 435.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.3814, allocations: 383.8 kB / 435.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3814, allocations: 93.75 kB / 435.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3815, allocations: 7.594 kB / 435.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3816, allocations: 6.25 kB / 435.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.3816, allocations: 12.27 kB / 435.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3816, allocations: 3.562 kB / 435.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.88e-05/0.3817, allocations: 136.7 kB / 435.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3817, allocations: 0 / 435.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.3821, allocations: 64.42 kB / 435.9 MB, free: 8.344 MB / 350.1 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 8.59e-05/0.3822, allocations: 112.2 kB / 436 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3824, allocations: 133.4 kB / 436.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3824, allocations: 4.156 kB / 436.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.3825, allocations: 61.3 kB / 436.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3829, allocations: 28.88 kB / 436.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.3838, allocations: 0.6056 MB / 436.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.3839, allocations: 0.7347 MB / 437.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.384, allocations: 21.48 kB / 437.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.3841, allocations: 17.81 kB / 437.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3841, allocations: 0 / 437.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Templates: time 0.00493/0.389, allocations: 1.584 MB / 439.2 MB, free: 6.902 MB / 350.1 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.778044555336237]