Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001408/0.001408, allocations: 85.16 kB / 21.44 MB, free: 296 kB / 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.001514/0.001514, allocations: 162.6 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.432e-05, allocations: 2.281 kB / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003695/0.00372, allocations: 2.126 MB / 301.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000657/0.004377, allocations: 187.3 kB / 301.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.004571, allocations: 4 kB / 301.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.004705, allocations: 35.64 kB / 301.3 MB, free: 6.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.004983, allocations: 71.36 kB / 301.4 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.005229, allocations: 47.92 kB / 301.4 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.005596, allocations: 242.8 kB / 301.6 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.005826, allocations: 75 kB / 301.7 MB, free: 5.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.006173, allocations: 143.7 kB / 301.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.006339, allocations: 67.78 kB / 301.9 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.006399, allocations: 24 kB / 301.9 MB, free: 5.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.006448, allocations: 24 kB / 302 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.00651, allocations: 47.83 kB / 302 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.006642, allocations: 79.83 kB / 302.1 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.007008, allocations: 263.1 kB / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.007012, allocations: 0 / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007013, allocations: 0 / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.007025, allocations: 0 / 302.3 MB, free: 5.312 MB / 286.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.001009/0.008034, allocations: 449.7 kB / 302.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.008083, allocations: 11.98 kB / 302.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.008183, allocations: 28.8 kB / 302.8 MB, free: 4.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.008519, allocations: 161.4 kB / 303 MB, free: 4.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.008542, allocations: 16.88 kB / 303 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.008608, allocations: 24.38 kB / 303 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.009066, allocations: 232 kB / 303.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.009085, allocations: 192 / 303.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.009115, allocations: 16.38 kB / 303.3 MB, free: 4.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.009124, allocations: 4.375 kB / 303.3 MB, free: 4.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.009471, allocations: 139.7 kB / 303.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.01077, allocations: 0.728 MB / 304.1 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.01103, allocations: 159.9 kB / 304.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.01113, allocations: 50.56 kB / 304.3 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.01114, allocations: 8 kB / 304.3 MB, free: 3.156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.01117, allocations: 38.56 kB / 304.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.01117, allocations: 0 / 304.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004301/0.0116, allocations: 173.6 kB / 304.6 MB, free: 2.934 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.01168, allocations: 110.7 kB / 304.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.01188, allocations: 175.6 kB / 304.8 MB, free: 2.613 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.01192, allocations: 29.7 kB / 304.9 MB, free: 2.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01204, allocations: 160.2 kB / 305 MB, free: 2.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.01212, allocations: 67.44 kB / 305.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.0122, allocations: 53.94 kB / 305.1 MB, free: 2.293 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01237, allocations: 330.8 kB / 305.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.82e-05/0.01247, allocations: 48.55 kB / 305.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01265, allocations: 154.7 kB / 305.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.01298, allocations: 233.5 kB / 305.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01299, allocations: 0 / 305.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004071/0.01339, allocations: 241.5 kB / 306.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01341, allocations: 8 kB / 306.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.01342, allocations: 4 kB / 306.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.01345, allocations: 4 kB / 306.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.01367, allocations: 59.91 kB / 306.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.01369, allocations: 12.72 kB / 306.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.01383, allocations: 27.78 kB / 306.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.01385, allocations: 12 kB / 306.2 MB, free: 1.07 MB / 286.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 0.0001517/0.014, allocations: 137.7 kB / 306.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.01408, allocations: 24.02 kB / 306.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.01414, allocations: 21.47 kB / 306.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01415, allocations: 7.938 kB / 306.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01415, allocations: 7.875 kB / 306.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01416, allocations: 0 / 306.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.01471, allocations: 340.7 kB / 306.8 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01471, allocations: 0 / 306.8 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.01491, allocations: 35.98 kB / 306.8 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.01491, allocations: 3.938 kB / 306.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01493, allocations: 8.094 kB / 306.8 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.01493, allocations: 3.938 kB / 306.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.01494, allocations: 4 kB / 306.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.01535, allocations: 372 kB / 307.2 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.01539, allocations: 27.81 kB / 307.2 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.01542, allocations: 8 kB / 307.2 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.01557, allocations: 4 kB / 307.2 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.01565, allocations: 19.97 kB / 307.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01566, allocations: 4 kB / 307.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.01578, allocations: 128.9 kB / 307.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01578, allocations: 0 / 307.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.01617, allocations: 55.89 kB / 307.4 MB, free: 15.8 MB / 302.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 0.0001179/0.01629, allocations: 103.2 kB / 307.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.01655, allocations: 135.7 kB / 307.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01655, allocations: 0 / 307.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.01663, allocations: 52.8 kB / 307.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.01712, allocations: 40.05 kB / 307.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.01804, allocations: 0.4943 MB / 308.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.0182, allocations: 125.1 kB / 308.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.01827, allocations: 21.64 kB / 308.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.01832, allocations: 20.5 kB / 308.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01832, allocations: 0 / 308.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.004801/0.02312, allocations: 1.387 MB / 309.8 MB, free: 13.37 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.267578102648258]