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.0009955/0.0009955, allocations: 98.62 kB / 16.93 MB, free: 5.984 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.001059/0.001059, allocations: 175.6 kB / 17.82 MB, free: 5.652 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.503/1.503, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004246/0.0004248, allocations: 16 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09148, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002199/0.09372, allocations: 1.796 MB / 330.1 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004803/0.09423, allocations: 203.4 kB / 330.3 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.09436, allocations: 7.938 kB / 330.3 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.229e-05/0.09442, allocations: 19.84 kB / 330.3 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.09457, allocations: 75.77 kB / 330.4 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.09473, allocations: 35.97 kB / 330.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.09494, allocations: 163.7 kB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.09515, allocations: 81.98 kB / 330.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.09526, allocations: 75.72 kB / 330.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.09541, allocations: 83.62 kB / 330.8 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.09545, allocations: 12 kB / 330.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.09548, allocations: 12 kB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.09552, allocations: 35.83 kB / 330.9 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.09558, allocations: 69.58 kB / 331 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.09576, allocations: 183.7 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.09577, allocations: 7.938 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09578, allocations: 0 / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09579, allocations: 4 kB / 331.2 MB, free: 1.238 MB / 270.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.0006013/0.0964, allocations: 475.2 kB / 331.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.09645, allocations: 12.03 kB / 331.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.09651, allocations: 23.72 kB / 331.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.09674, allocations: 218.7 kB / 331.9 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.09677, allocations: 24.45 kB / 331.9 MB, free: 424 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.09681, allocations: 24 kB / 331.9 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.09716, allocations: 220.3 kB / 332.1 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.09718, allocations: 0 / 332.1 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.09721, allocations: 16 kB / 332.2 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.09723, allocations: 8 kB / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.09745, allocations: 135.5 kB / 332.3 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.0985, allocations: 0.8594 MB / 333.2 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.09873, allocations: 159.9 kB / 333.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.09875, allocations: 4 kB / 333.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.09878, allocations: 38.52 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.09879, allocations: 0 / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003227/0.09912, allocations: 161.5 kB / 333.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.09918, allocations: 110.8 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.09936, allocations: 210.5 kB / 333.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.09939, allocations: 29.7 kB / 333.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.09948, allocations: 151.9 kB / 334 MB, free: 14.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.09954, allocations: 67 kB / 334.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-06/0.09955, allocations: 4 kB / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.09967, allocations: 326.8 kB / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.09975, allocations: 52.47 kB / 334.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.09989, allocations: 154.8 kB / 334.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1, allocations: 64 kB / 334.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1, allocations: 0 / 334.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003417/0.1004, allocations: 249.8 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1004, allocations: 8 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1004, allocations: 7.953 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1004, allocations: 4 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1006, allocations: 63.91 kB / 335 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1006, allocations: 4.438 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1008, allocations: 39.62 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1008, allocations: 8 kB / 335 MB, free: 13.05 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1009, allocations: 141.7 kB / 335.2 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.101, allocations: 15.81 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.101, allocations: 33.33 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1011, allocations: 7.953 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1011, allocations: 0 / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1011, allocations: 4 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.1016, allocations: 424.9 kB / 335.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1016, allocations: 3.953 kB / 335.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1018, allocations: 39.92 kB / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1018, allocations: 0 / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.1018, allocations: 8 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1018, allocations: 0 / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1018, allocations: 4 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.1023, allocations: 424.4 kB / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1023, allocations: 96.83 kB / 336.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1024, allocations: 4 kB / 336.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.1025, allocations: 4 kB / 336.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.1025, allocations: 15.94 kB / 336.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1025, allocations: 4 kB / 336.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1027, allocations: 144.3 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1027, allocations: 0 / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.103, allocations: 55.94 kB / 336.4 MB, free: 11.5 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.5e-05/0.1031, allocations: 99.19 kB / 336.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1034, allocations: 143.7 kB / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1034, allocations: 3.938 kB / 336.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.1034, allocations: 48.8 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1037, allocations: 31.17 kB / 336.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.1047, allocations: 0.7188 MB / 337.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.105, allocations: 0.744 MB / 338.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.944e-05/0.1051, allocations: 13.95 kB / 338.2 MB, free: 9.629 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1052, allocations: 23.44 kB / 338.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1052, allocations: 0 / 338.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of Templates: time 0.003698/0.1089, allocations: 1.385 MB / 339.6 MB, free: 8.227 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches