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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB 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.001801/0.001801, allocations: 59.84 kB / 367.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2571, allocations: 53.31 MB / 420.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003418/0.2605, allocations: 2.266 MB / 422.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.2609, allocations: 203.2 kB / 423.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.261, allocations: 4 kB / 423.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.573e-05/0.2611, allocations: 35.64 kB / 423.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.2612, allocations: 63.41 kB / 423.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.2614, allocations: 63.81 kB / 423.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.2617, allocations: 227 kB / 423.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.2619, allocations: 82.59 kB / 423.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2621, allocations: 91.72 kB / 423.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2622, allocations: 99.55 kB / 423.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.2622, allocations: 20 kB / 423.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.2623, allocations: 20 kB / 423.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.2623, allocations: 51.83 kB / 423.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2625, allocations: 111.5 kB / 424 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.2628, allocations: 254.9 kB / 424.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2628, allocations: 0 / 424.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2628, allocations: 4 kB / 424.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2628, allocations: 0 / 424.2 MB, free: 4.91 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.0008102/0.2636, allocations: 0.5135 MB / 424.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2637, allocations: 12.03 kB / 424.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.2637, allocations: 28.8 kB / 424.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.264, allocations: 216 kB / 425 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.264, allocations: 16.94 kB / 425 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.264, allocations: 28.36 kB / 425 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.2645, allocations: 236.8 kB / 425.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2645, allocations: 8.188 kB / 425.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.2645, allocations: 7.938 kB / 425.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2645, allocations: 12 kB / 425.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.2648, allocations: 127.9 kB / 425.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2659, allocations: 0.8559 MB / 426.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.2662, allocations: 159.7 kB / 426.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2663, allocations: 54.5 kB / 426.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2663, allocations: 8 kB / 426.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2664, allocations: 42.5 kB / 426.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.2664, allocations: 0 / 426.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003815/0.2667, allocations: 165.8 kB / 426.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.2668, allocations: 110.7 kB / 426.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.267, allocations: 199.1 kB / 427 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2671, allocations: 29.7 kB / 427 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2672, allocations: 168.3 kB / 427.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.2672, allocations: 71.41 kB / 427.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.2673, allocations: 46 kB / 427.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2675, allocations: 334.8 kB / 427.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.2676, allocations: 44.55 kB / 427.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.2677, allocations: 154.3 kB / 427.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.268, allocations: 221.5 kB / 428 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.268, allocations: 0 / 428 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003811/0.2684, allocations: 250.1 kB / 428.3 MB, free: 476 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2684, allocations: 14.75 kB / 428.3 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2684, allocations: 7.984 kB / 428.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2685, allocations: 4 kB / 428.3 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2687, allocations: 59.92 kB / 428.4 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.2687, allocations: 7.938 kB / 428.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.2688, allocations: 27.78 kB / 428.4 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.2688, allocations: 12 kB / 428.4 MB, free: 344 kB / 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.0001869/0.269, allocations: 149.9 kB / 428.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.2691, allocations: 19.84 kB / 428.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.2692, allocations: 21.41 kB / 428.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2692, allocations: 4.188 kB / 428.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2692, allocations: 0 / 428.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2692, allocations: 7.969 kB / 428.6 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.2698, allocations: 424.9 kB / 429 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2698, allocations: 4 kB / 429 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.27, allocations: 35.92 kB / 429.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.27, allocations: 4 kB / 429.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.27, allocations: 15.92 kB / 429.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.27, allocations: 0 / 429.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.27, allocations: 0 / 429.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.2705, allocations: 385.2 kB / 429.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.2705, allocations: 96.95 kB / 429.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.2706, allocations: 4 kB / 429.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2707, allocations: 8 kB / 429.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.2707, allocations: 15.91 kB / 429.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2707, allocations: 7.984 kB / 429.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2709, allocations: 140.4 kB / 429.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2709, allocations: 0 / 429.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.2712, allocations: 59.89 kB / 429.8 MB, free: 14.84 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.0001141/0.2713, allocations: 103.2 kB / 429.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.2716, allocations: 128.6 kB / 430 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2716, allocations: 4.062 kB / 430 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.2717, allocations: 51.86 kB / 430.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.2722, allocations: 27.98 kB / 430.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.2732, allocations: 0.6061 MB / 430.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.2736, allocations: 0.7397 MB / 431.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.135e-05/0.2736, allocations: 17.95 kB / 431.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.2737, allocations: 19.44 kB / 431.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2737, allocations: 0 / 431.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004791/0.2785, allocations: 1.59 MB / 433.1 MB, free: 11.5 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/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) Reference file matches