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.001899/0.001899, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002258/0.002258, allocations: 191.7 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.531/1.531, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001687/0.001687, allocations: 51.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2408, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004117/0.2449, allocations: 2.121 MB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000463/0.2454, allocations: 199.3 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2455, allocations: 4 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.197e-05/0.2456, allocations: 35.64 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2457, allocations: 63.42 kB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.2459, allocations: 51.94 kB / 425.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.2462, allocations: 238.9 kB / 425.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2464, allocations: 82.8 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.2466, allocations: 95.66 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.2467, allocations: 87.55 kB / 426 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.2467, allocations: 20 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.2468, allocations: 23.94 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.2468, allocations: 47.84 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2469, allocations: 91.59 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.2472, allocations: 265.4 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2472, allocations: 0 / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2472, allocations: 0 / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2472, allocations: 0 / 426.5 MB, free: 11.06 MB / 334.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.0007364/0.248, allocations: 441.8 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.248, allocations: 8.031 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.2481, allocations: 28.78 kB / 426.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.2483, allocations: 166.2 kB / 427.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2483, allocations: 20.88 kB / 427.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.2484, allocations: 20.38 kB / 427.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.2488, allocations: 236 kB / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2488, allocations: 192 / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2488, allocations: 11.94 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2488, allocations: 8 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.2491, allocations: 131.9 kB / 427.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2502, allocations: 0.728 MB / 428.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2504, allocations: 163.7 kB / 428.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.2505, allocations: 58.5 kB / 428.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2505, allocations: 4 kB / 428.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2506, allocations: 34.56 kB / 428.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.2506, allocations: 0 / 428.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003848/0.251, allocations: 165.9 kB / 428.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.251, allocations: 110.8 kB / 428.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.2512, allocations: 181.5 kB / 428.9 MB, free: 8.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2512, allocations: 25.7 kB / 429 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2514, allocations: 168.2 kB / 429.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.2514, allocations: 67.42 kB / 429.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.2515, allocations: 53.98 kB / 429.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2517, allocations: 322.8 kB / 429.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.2517, allocations: 44.55 kB / 429.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.2519, allocations: 167.5 kB / 429.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.2522, allocations: 226.1 kB / 430 MB, free: 7.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2522, allocations: 0 / 430 MB, free: 7.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003832/0.2526, allocations: 241.2 kB / 430.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2526, allocations: 10.81 kB / 430.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2527, allocations: 11.88 kB / 430.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2527, allocations: 7.984 kB / 430.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.2529, allocations: 55.92 kB / 430.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.2529, allocations: 12.38 kB / 430.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.253, allocations: 31.78 kB / 430.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2531, allocations: 12 kB / 430.4 MB, free: 6.816 MB / 334.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.0001425/0.2532, allocations: 141.8 kB / 430.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.2533, allocations: 15.91 kB / 430.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.2533, allocations: 25.34 kB / 430.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2533, allocations: 4 kB / 430.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2533, allocations: 0 / 430.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2533, allocations: 3.984 kB / 430.5 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.2539, allocations: 340.6 kB / 430.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2539, allocations: 4.031 kB / 430.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2541, allocations: 39.92 kB / 430.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.2541, allocations: 0 / 430.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2541, allocations: 8 kB / 430.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2541, allocations: 0 / 430.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2541, allocations: 4 kB / 430.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.2546, allocations: 389 kB / 431.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.2546, allocations: 15.84 kB / 431.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.2546, allocations: 8 kB / 431.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2548, allocations: 4 kB / 431.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2548, allocations: 16.03 kB / 431.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2548, allocations: 7.984 kB / 431.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.2549, allocations: 128.2 kB / 431.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2549, allocations: 0 / 431.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.2553, allocations: 55.83 kB / 431.5 MB, free: 5.551 MB / 334.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.0001171/0.2554, allocations: 103.2 kB / 431.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.2557, allocations: 132.5 kB / 431.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2557, allocations: 4 kB / 431.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.2558, allocations: 55.8 kB / 431.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.2563, allocations: 27.98 kB / 431.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2574, allocations: 0.592 MB / 432.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2575, allocations: 125.1 kB / 432.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.337e-05/0.2576, allocations: 21.58 kB / 432.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.2576, allocations: 19.44 kB / 432.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2576, allocations: 4 kB / 432.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of Templates: time 0.005434/0.2631, allocations: 1.635 MB / 434.3 MB, free: 2.797 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.455870823934674]