Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005609/0.005609, allocations: 109.7 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 64.56 kB / 379.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2658, allocations: 53.37 MB / 433.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003693/0.2695, allocations: 2.285 MB / 435.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.27, allocations: 203.2 kB / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2701, allocations: 8 kB / 435.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.176e-05/0.2702, allocations: 35.64 kB / 435.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.2704, allocations: 59.42 kB / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2706, allocations: 55.94 kB / 435.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.2709, allocations: 238.9 kB / 436 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.2711, allocations: 79.02 kB / 436.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2712, allocations: 95.7 kB / 436.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2714, allocations: 103.5 kB / 436.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.2715, allocations: 20 kB / 436.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.771e-05/0.2715, allocations: 24 kB / 436.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.2715, allocations: 43.84 kB / 436.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2717, allocations: 115.5 kB / 436.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.272, allocations: 253.2 kB / 436.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.272, allocations: 0 / 436.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.272, allocations: 4 kB / 436.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.272, allocations: 0 / 436.8 MB, free: 3.41 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.0007337/0.2727, allocations: 441.8 kB / 437.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2728, allocations: 16.03 kB / 437.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.2728, allocations: 24.8 kB / 437.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2731, allocations: 163.4 kB / 437.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2731, allocations: 20.88 kB / 437.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.2731, allocations: 24.33 kB / 437.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.2736, allocations: 232.1 kB / 437.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.2736, allocations: 4.125 kB / 437.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2736, allocations: 15.94 kB / 437.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.2736, allocations: 8 kB / 437.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.2739, allocations: 135.8 kB / 437.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2751, allocations: 0.8134 MB / 438.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.2753, allocations: 151.7 kB / 438.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2754, allocations: 62.55 kB / 438.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2754, allocations: 11.88 kB / 438.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.2755, allocations: 46.48 kB / 438.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.2755, allocations: 0 / 438.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004073/0.2759, allocations: 165.8 kB / 439.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.276, allocations: 102.8 kB / 439.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2762, allocations: 200 kB / 439.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2762, allocations: 25.7 kB / 439.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2763, allocations: 172.2 kB / 439.5 MB, free: 400 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.2764, allocations: 63.47 kB / 439.6 MB, free: 336 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.2765, allocations: 57.94 kB / 439.7 MB, free: 268 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2766, allocations: 326.8 kB / 440 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.2767, allocations: 44.53 kB / 440 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.2769, allocations: 159.6 kB / 440.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2772, allocations: 221.5 kB / 440.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2772, allocations: 4 kB / 440.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003844/0.2776, allocations: 238.1 kB / 440.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2777, allocations: 11.94 kB / 440.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2777, allocations: 8 kB / 440.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2777, allocations: 4 kB / 440.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2779, allocations: 63.91 kB / 440.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2779, allocations: 7.938 kB / 440.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2781, allocations: 35.73 kB / 440.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2781, allocations: 8 kB / 440.8 MB, free: 15.04 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.0001367/0.2782, allocations: 146 kB / 440.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.2783, allocations: 19.84 kB / 440.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.2783, allocations: 25.39 kB / 441 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2784, allocations: 4 kB / 441 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2784, allocations: 0 / 441 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2784, allocations: 0 / 441 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.2789, allocations: 404 kB / 441.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.279, allocations: 0 / 441.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2792, allocations: 39.92 kB / 441.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2792, allocations: 0 / 441.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.2792, allocations: 8 kB / 441.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2792, allocations: 0 / 441.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2792, allocations: 4 kB / 441.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.2796, allocations: 389.3 kB / 441.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.2796, allocations: 27.95 kB / 441.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.2797, allocations: 8 kB / 441.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2798, allocations: 4 kB / 441.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.2798, allocations: 11.92 kB / 441.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2798, allocations: 4 kB / 441.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.28, allocations: 147.2 kB / 442 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.28, allocations: 0 / 442 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.2803, allocations: 51.89 kB / 442 MB, free: 13.68 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.0001242/0.2805, allocations: 103.2 kB / 442.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.2808, allocations: 132.5 kB / 442.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2808, allocations: 4.125 kB / 442.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2809, allocations: 51.86 kB / 442.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.2814, allocations: 30.52 kB / 442.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2825, allocations: 0.6392 MB / 443 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.2828, allocations: 0.7359 MB / 443.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.2829, allocations: 19.44 kB / 443.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2829, allocations: 0 / 443.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Templates: time 0.004628/0.2875, allocations: 2.301 MB / 446 MB, free: 9.594 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.9298548810184]