Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 103.9 kB / 18.39 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 190.5 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 52.34 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08826, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003561/0.09186, allocations: 2.248 MB / 378.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.09245, allocations: 195.3 kB / 378.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.09265, allocations: 4 kB / 378.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.09278, allocations: 35.64 kB / 378.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.09301, allocations: 63.36 kB / 378.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.09326, allocations: 59.92 kB / 378.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.09356, allocations: 239 kB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.09379, allocations: 114.3 kB / 378.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.09394, allocations: 91.7 kB / 378.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.0941, allocations: 95.56 kB / 378.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.09415, allocations: 20 kB / 379 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.0942, allocations: 24 kB / 379 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.09427, allocations: 47.83 kB / 379 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.09439, allocations: 115.5 kB / 379.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.09469, allocations: 255.1 kB / 379.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.0947, allocations: 3.938 kB / 379.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09471, allocations: 3.938 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.09472, allocations: 0 / 379.4 MB, free: 0.9805 MB / 318.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.0007846/0.09551, allocations: 0.5032 MB / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.09556, allocations: 12.03 kB / 379.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.09564, allocations: 20.75 kB / 379.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.09587, allocations: 223.9 kB / 380.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.0959, allocations: 20.94 kB / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.09595, allocations: 20.38 kB / 380.2 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1776/0.2736, allocations: 232.6 kB / 380.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.2737, allocations: 3 kB / 380.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2737, allocations: 12.12 kB / 380.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.2737, allocations: 5.281 kB / 380.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.274, allocations: 135.4 kB / 380.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.275, allocations: 0.8552 MB / 381.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2752, allocations: 156.2 kB / 381.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.2753, allocations: 64.98 kB / 381.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2754, allocations: 6.25 kB / 381.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2754, allocations: 36.11 kB / 381.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.505e-06/0.2754, allocations: 0 / 381.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.000359/0.2758, allocations: 169.6 kB / 381.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2758, allocations: 106.8 kB / 381.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.276, allocations: 211.8 kB / 382.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.276, allocations: 25.7 kB / 382.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.2761, allocations: 155.7 kB / 382.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.2761, allocations: 69.72 kB / 382.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.2762, allocations: 52.03 kB / 382.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.2762, allocations: 327.8 kB / 382.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.2763, allocations: 48.73 kB / 382.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2765, allocations: 156.6 kB / 383 MB, free: 11.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.2767, allocations: 221.9 kB / 383.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2767, allocations: 4.844 kB / 383.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003603/0.277, allocations: 242.1 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2771, allocations: 6.625 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2771, allocations: 4.125 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2771, allocations: 9.281 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2773, allocations: 62.83 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2774, allocations: 7.344 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2775, allocations: 29.17 kB / 383.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.2775, allocations: 10.34 kB / 383.6 MB, free: 11.2 MB / 318.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 9.397e-05/0.2776, allocations: 145.8 kB / 383.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.2777, allocations: 16.88 kB / 383.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.2778, allocations: 24.36 kB / 383.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2778, allocations: 2.969 kB / 383.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2778, allocations: 1.219 kB / 383.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2778, allocations: 2.859 kB / 383.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.2783, allocations: 433 kB / 384.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2783, allocations: 3.234 kB / 384.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2785, allocations: 34.53 kB / 384.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2785, allocations: 2.641 kB / 384.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2785, allocations: 7.047 kB / 384.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2785, allocations: 2.094 kB / 384.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2785, allocations: 12.78 kB / 384.2 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.2789, allocations: 375.7 kB / 384.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.2789, allocations: 98.88 kB / 384.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.2789, allocations: 7.109 kB / 384.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2791, allocations: 5.188 kB / 384.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.2791, allocations: 22.73 kB / 384.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2791, allocations: 3.969 kB / 384.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.994e-05/0.2792, allocations: 144.8 kB / 384.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2792, allocations: 0 / 384.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.2796, allocations: 48.69 kB / 384.9 MB, free: 10.11 MB / 318.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.0001059/0.2797, allocations: 102.8 kB / 385 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.28, allocations: 153.2 kB / 385.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.28, allocations: 0 / 385.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.2801, allocations: 55.03 kB / 385.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.2805, allocations: 29.42 kB / 385.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.2814, allocations: 0.6067 MB / 385.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.2816, allocations: 0.7374 MB / 386.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.2816, allocations: 22.88 kB / 386.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2816, allocations: 1.156 kB / 386.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of Templates: time 0.004311/0.286, allocations: 2.304 MB / 388.9 MB, free: 8.566 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches