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.001421/0.001421, allocations: 106.2 kB / 18.25 MB, free: 4.781 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.001509/0.001509, allocations: 195.3 kB / 19.18 MB, free: 3.859 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.43/1.43, allocations: 205.1 MB / 225 MB, free: 12.3 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.001422/0.001422, allocations: 55.92 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08698, allocations: 46.64 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003787/0.09081, allocations: 2.236 MB / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.09135, allocations: 191.3 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.09152, allocations: 11.94 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.09167, allocations: 39.64 kB / 330.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.09188, allocations: 59.36 kB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.09209, allocations: 55.92 kB / 330.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.09237, allocations: 235 kB / 330.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.09262, allocations: 110.6 kB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.09276, allocations: 87.72 kB / 331 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.09292, allocations: 99.55 kB / 331.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.09297, allocations: 20 kB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-05/0.09302, allocations: 24 kB / 331.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.09308, allocations: 47.84 kB / 331.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.0932, allocations: 119.4 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.09348, allocations: 255.4 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.09349, allocations: 0 / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0935, allocations: 0 / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.09351, allocations: 0 / 331.5 MB, free: 0.8828 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.0007787/0.0943, allocations: 0.507 MB / 332 MB, free: 332 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.09435, allocations: 8.031 kB / 332 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.09442, allocations: 24.66 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.09466, allocations: 220 kB / 332.3 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.09468, allocations: 20.94 kB / 332.3 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.09476, allocations: 24.42 kB / 332.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.09513, allocations: 228.8 kB / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.09516, allocations: 4.172 kB / 332.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.09519, allocations: 15.94 kB / 332.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.09521, allocations: 4 kB / 332.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.09546, allocations: 135.8 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.09667, allocations: 0.8555 MB / 333.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.09693, allocations: 171.6 kB / 333.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.09704, allocations: 62.56 kB / 333.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.09706, allocations: 4 kB / 333.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.09709, allocations: 38.5 kB / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 2.244e-06/0.0971, allocations: 0 / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004042/0.09751, allocations: 169.6 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.09759, allocations: 106.8 kB / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.09781, allocations: 202.6 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.09784, allocations: 29.7 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.09795, allocations: 159.8 kB / 334.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.09802, allocations: 63.09 kB / 334.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.0981, allocations: 49.98 kB / 334.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.09828, allocations: 330.8 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.0984, allocations: 52.48 kB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.09856, allocations: 154.7 kB / 335.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.09886, allocations: 221.5 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.09887, allocations: 0 / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003777/0.09925, allocations: 245.7 kB / 335.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.09928, allocations: 7.938 kB / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.0993, allocations: 7.938 kB / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.09932, allocations: 8 kB / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.09954, allocations: 67.84 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.09956, allocations: 4 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.09971, allocations: 24.19 kB / 335.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.09974, allocations: 16 kB / 335.7 MB, free: 12.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.09988, allocations: 141.7 kB / 335.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.09996, allocations: 23.75 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.1, allocations: 21.41 kB / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1, allocations: 0 / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1, allocations: 4 kB / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1001, allocations: 3.984 kB / 335.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.1006, allocations: 428.8 kB / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1006, allocations: 0 / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1008, allocations: 35.98 kB / 336.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1008, allocations: 4 kB / 336.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1009, allocations: 8 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1009, allocations: 4.078 kB / 336.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.1009, allocations: 7.969 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.1013, allocations: 377.1 kB / 336.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1014, allocations: 88.92 kB / 336.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1014, allocations: 8 kB / 336.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1015, allocations: 4 kB / 336.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1016, allocations: 23.91 kB / 336.9 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1016, allocations: 4 kB / 336.9 MB, free: 11.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1017, allocations: 144.3 kB / 337 MB, free: 10.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1017, allocations: 0 / 337 MB, free: 10.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000375/0.1021, allocations: 59.84 kB / 337.1 MB, free: 10.84 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 (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.0001165/0.1022, allocations: 95.23 kB / 337.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.1025, allocations: 155.1 kB / 337.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1025, allocations: 0 / 337.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.1026, allocations: 51.92 kB / 337.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1031, allocations: 33.19 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1043, allocations: 0.6288 MB / 338 MB, free: 9.828 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1046, allocations: 0.7359 MB / 338.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.1047, allocations: 23.38 kB / 338.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1047, allocations: 0 / 338.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of Templates: time 0.004583/0.1093, allocations: 2.276 MB / 341 MB, free: 6.758 MB / 286.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