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.001298/0.001298, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001409/0.001409, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001657/0.001657, allocations: 51.91 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2518, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003582/0.2554, allocations: 2.282 MB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.2559, allocations: 195.3 kB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.2559, allocations: 19.81 kB / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.256, allocations: 35.64 kB / 434.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.2562, allocations: 63.41 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.2564, allocations: 51.94 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.2566, allocations: 235 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2568, allocations: 79.02 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.257, allocations: 91.72 kB / 435.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2571, allocations: 103.5 kB / 435.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.2572, allocations: 20 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.916e-05/0.2572, allocations: 24 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.2572, allocations: 47.83 kB / 435.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2574, allocations: 115.5 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.2577, allocations: 264.2 kB / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2577, allocations: 0 / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2577, allocations: 0 / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2577, allocations: 0 / 436 MB, free: 3.328 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.0006987/0.2584, allocations: 437.8 kB / 436.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2584, allocations: 12.03 kB / 436.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.2585, allocations: 28.78 kB / 436.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2587, allocations: 169.3 kB / 436.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.2587, allocations: 20.88 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.2587, allocations: 16.38 kB / 436.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.2591, allocations: 236.1 kB / 436.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2591, allocations: 192 / 436.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.2592, allocations: 15.94 kB / 436.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2592, allocations: 4 kB / 436.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.2594, allocations: 131.9 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2606, allocations: 0.825 MB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.2609, allocations: 147.7 kB / 438 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.261, allocations: 62.56 kB / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.261, allocations: 0 / 438.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.261, allocations: 46.38 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.261, allocations: 0 / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000384/0.2614, allocations: 170 kB / 438.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.2615, allocations: 106.8 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2617, allocations: 208.3 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2617, allocations: 25.7 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2618, allocations: 156.3 kB / 438.8 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.2619, allocations: 75.41 kB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.262, allocations: 49.98 kB / 438.9 MB, free: 200 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2621, allocations: 326.8 kB / 439.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.2622, allocations: 48.48 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.2624, allocations: 163.5 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2627, allocations: 217.5 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2627, allocations: 4 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003756/0.2631, allocations: 249.1 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2631, allocations: 11.94 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2631, allocations: 4 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2631, allocations: 4 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2633, allocations: 55.92 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2633, allocations: 8.422 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.2635, allocations: 39.78 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.2635, allocations: 12 kB / 440 MB, free: 14.96 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 0.0001387/0.2636, allocations: 145.7 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.2637, allocations: 19.84 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.2638, allocations: 25.39 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2638, allocations: 4 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2638, allocations: 0 / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2638, allocations: 0 / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.2643, allocations: 392 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2643, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.2645, allocations: 43.92 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2646, allocations: 3.984 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2646, allocations: 4 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2646, allocations: 0 / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2646, allocations: 4 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.265, allocations: 385.7 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.265, allocations: 19.84 kB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.2651, allocations: 12.03 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2652, allocations: 0 / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.2652, allocations: 19.92 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.2652, allocations: 4 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2654, allocations: 143.4 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2654, allocations: 0 / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.2657, allocations: 55.89 kB / 441.3 MB, free: 13.62 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 0.0001225/0.2658, allocations: 103.2 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.2661, allocations: 135.9 kB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2661, allocations: 0 / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.2662, allocations: 51.92 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.2667, allocations: 28.98 kB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2677, allocations: 0.6504 MB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.2681, allocations: 0.732 MB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.2681, allocations: 19.44 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2681, allocations: 0 / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004261/0.2724, allocations: 2.316 MB / 445.3 MB, free: 9.508 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/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: 6.753676692023873]