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.001868/0.001868, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002209/0.002209, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.435/1.435, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.0015/0.0015, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2483, allocations: 52.14 MB / 420.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003452/0.2517, allocations: 2.277 MB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.2521, allocations: 199.3 kB / 423.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.2522, allocations: 7.938 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.513e-05/0.2523, allocations: 35.64 kB / 423.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.2524, allocations: 59.42 kB / 423.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.2526, allocations: 55.92 kB / 423.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.2528, allocations: 242.9 kB / 423.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.2531, allocations: 86.53 kB / 423.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2532, allocations: 87.7 kB / 423.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2533, allocations: 99.56 kB / 424 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.2533, allocations: 20 kB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.551e-05/0.2534, allocations: 20 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.2534, allocations: 47.84 kB / 424.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2535, allocations: 115.5 kB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2538, allocations: 260.1 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2538, allocations: 8 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2538, allocations: 0 / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2538, allocations: 0 / 424.4 MB, free: 11.54 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.0007491/0.2546, allocations: 0.5068 MB / 424.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2546, allocations: 12.03 kB / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.2547, allocations: 24.8 kB / 425 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2549, allocations: 227.3 kB / 425.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.2549, allocations: 12.94 kB / 425.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.255, allocations: 28.31 kB / 425.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2553, allocations: 228.9 kB / 425.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2554, allocations: 4.188 kB / 425.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.2554, allocations: 11.94 kB / 425.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2554, allocations: 8 kB / 425.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.2556, allocations: 131.9 kB / 425.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2567, allocations: 0.8557 MB / 426.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.257, allocations: 155.7 kB / 426.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.2571, allocations: 50.56 kB / 426.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2571, allocations: 19.97 kB / 426.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2571, allocations: 34.5 kB / 426.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.2571, allocations: 0 / 426.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003917/0.2575, allocations: 174.2 kB / 426.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.2576, allocations: 106.8 kB / 427 MB, free: 8.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.2578, allocations: 198.6 kB / 427.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.2578, allocations: 33.7 kB / 427.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2579, allocations: 164.1 kB / 427.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.258, allocations: 67.42 kB / 427.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.2581, allocations: 53.94 kB / 427.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2582, allocations: 326.8 kB / 427.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.075e-05/0.2583, allocations: 52.53 kB / 427.9 MB, free: 7.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.2585, allocations: 155.6 kB / 428 MB, free: 7.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.2588, allocations: 225.6 kB / 428.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2588, allocations: 0 / 428.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003677/0.2592, allocations: 245.3 kB / 428.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2592, allocations: 11.94 kB / 428.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2592, allocations: 0 / 428.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.2592, allocations: 8 kB / 428.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2594, allocations: 67.91 kB / 428.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2594, allocations: 4 kB / 428.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2596, allocations: 27.78 kB / 428.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2596, allocations: 16 kB / 428.6 MB, free: 6.969 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.0001269/0.2597, allocations: 142 kB / 428.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.2598, allocations: 27.73 kB / 428.8 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.2598, allocations: 25.39 kB / 428.8 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2598, allocations: 4 kB / 428.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2599, allocations: 0 / 428.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2599, allocations: 0 / 428.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.2604, allocations: 424.9 kB / 429.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2604, allocations: 4 kB / 429.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.2606, allocations: 31.98 kB / 429.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2606, allocations: 4 kB / 429.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2606, allocations: 4 kB / 429.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.2606, allocations: 7.938 kB / 429.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2606, allocations: 0 / 429.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.261, allocations: 380.5 kB / 429.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.2611, allocations: 101 kB / 429.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2611, allocations: 4 kB / 429.8 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2613, allocations: 4 kB / 429.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2613, allocations: 19.86 kB / 429.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2613, allocations: 7.938 kB / 429.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.2614, allocations: 148.3 kB / 429.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2614, allocations: 0 / 429.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.2618, allocations: 59.89 kB / 430 MB, free: 5.48 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.0001081/0.2619, allocations: 96.05 kB / 430.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.2622, allocations: 136.5 kB / 430.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2622, allocations: 4.062 kB / 430.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.2622, allocations: 51.92 kB / 430.3 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2627, allocations: 31.97 kB / 430.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.2637, allocations: 0.6168 MB / 430.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.2641, allocations: 0.732 MB / 431.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.388e-05/0.2642, allocations: 25.92 kB / 431.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.2642, allocations: 19.44 kB / 431.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2642, allocations: 0 / 431.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of Templates: time 0.004666/0.2689, allocations: 1.621 MB / 433.3 MB, free: 2.09 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.3824201710522175]