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.001145/0.001145, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001017/0.001017, allocations: 162.1 kB / 24.99 MB, free: 9.324 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.9446/0.9446, allocations: 177.1 MB / 205.3 MB, free: 5.633 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 1.994e-06/1.994e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.335e-05, allocations: 2.312 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003461/0.003485, allocations: 2.262 MB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005608/0.004046, allocations: 195.2 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.00416, allocations: 4 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.315e-05/0.004253, allocations: 35.64 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.004444, allocations: 75.3 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.004634, allocations: 55.86 kB / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.007853, allocations: 238.8 kB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.008014, allocations: 75 kB / 276 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.008157, allocations: 139.8 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.008264, allocations: 75.77 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.008297, allocations: 24 kB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.008321, allocations: 24 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.008356, allocations: 43.83 kB / 276.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.008419, allocations: 83.83 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.0086, allocations: 163.3 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008603, allocations: 3.938 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.008604, allocations: 0 / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.008609, allocations: 0 / 276.5 MB, free: 14.36 MB / 266.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.0007119/0.00932, allocations: 0.5392 MB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.009359, allocations: 8.031 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.009449, allocations: 40.8 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.009679, allocations: 168.2 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.009698, allocations: 16.88 kB / 277.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.009732, allocations: 24.38 kB / 277.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.009973, allocations: 199.3 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.009985, allocations: 4.188 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.01, allocations: 8.375 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.01001, allocations: 8.375 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.01015, allocations: 94.33 kB / 277.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.01092, allocations: 0.915 MB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.01107, allocations: 141.2 kB / 278.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.01113, allocations: 59.03 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.01114, allocations: 8 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.01117, allocations: 37.69 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.01117, allocations: 0 / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002511/0.01142, allocations: 145.4 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.01146, allocations: 106.8 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.01162, allocations: 222.8 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01164, allocations: 29.7 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.01172, allocations: 214.9 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.01176, allocations: 67.44 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.01181, allocations: 59.59 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01192, allocations: 0.4962 MB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.01196, allocations: 32.53 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01207, allocations: 180 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.01224, allocations: 234.8 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01224, allocations: 4 kB / 280.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002258/0.01247, allocations: 214.1 kB / 280.7 MB, free: 9.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01248, allocations: 8 kB / 280.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01249, allocations: 4 kB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.01251, allocations: 7.984 kB / 280.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.01272, allocations: 63.86 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.01273, allocations: 11.88 kB / 280.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.01285, allocations: 27.78 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.01286, allocations: 16 kB / 280.9 MB, free: 9.57 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.974e-05/0.01296, allocations: 172.7 kB / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.01304, allocations: 23.91 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.01309, allocations: 21.47 kB / 281.1 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.01309, allocations: 4 kB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.0131, allocations: 3.938 kB / 281.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.0131, allocations: 3.984 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.01358, allocations: 388.3 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01358, allocations: 4 kB / 281.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.01375, allocations: 35.92 kB / 281.5 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.01376, allocations: 7.938 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01378, allocations: 12.09 kB / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01378, allocations: 0 / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01378, allocations: 0 / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.01413, allocations: 437.9 kB / 282 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.01416, allocations: 23.84 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.01418, allocations: 0 / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01431, allocations: 8 kB / 282 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.01434, allocations: 7.984 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01435, allocations: 11.98 kB / 282 MB, free: 8.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.885e-05/0.01444, allocations: 156.8 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01444, allocations: 4 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004262/0.01487, allocations: 59.89 kB / 282.2 MB, free: 8.117 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 9.872e-05/0.01497, allocations: 107.1 kB / 282.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.0152, allocations: 117.3 kB / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0152, allocations: 4.875 kB / 282.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.01527, allocations: 51.61 kB / 282.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.01575, allocations: 31.92 kB / 282.5 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/0.01661, allocations: 0.5153 MB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.619e-05/0.01669, allocations: 79.98 kB / 283.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.728e-05/0.01676, allocations: 21.62 kB / 283.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.0168, allocations: 20.5 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of SimCode: time 1.623e-06/0.0168, allocations: 3.938 kB / 283.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003253/0.02006, allocations: 1.44 MB / 284.6 MB, free: 5.688 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 240] 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","",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.692308196797967]