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) 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 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_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.001252/0.001252, allocations: 111.9 kB / 17.74 MB, free: 5.359 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.001356/0.001356, allocations: 193.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001063, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.269, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003459/0.2725, allocations: 2.245 MB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.2731, allocations: 195.2 kB / 403.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2732, allocations: 4 kB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.2733, allocations: 35.64 kB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.2736, allocations: 67.36 kB / 403.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.2738, allocations: 51.94 kB / 404 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.2741, allocations: 234.9 kB / 404.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.2743, allocations: 118.5 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2745, allocations: 91.7 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2746, allocations: 99.55 kB / 404.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.2747, allocations: 20 kB / 404.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.939e-05/0.2747, allocations: 24 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.2748, allocations: 43.84 kB / 404.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2749, allocations: 115.5 kB / 404.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2752, allocations: 256.2 kB / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2752, allocations: 0 / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2752, allocations: 7.938 kB / 405 MB, free: 5.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2752, allocations: 3.938 kB / 405 MB, free: 5.27 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.0007583/0.276, allocations: 0.5031 MB / 405.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.276, allocations: 12.03 kB / 405.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.2761, allocations: 24.66 kB / 405.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2763, allocations: 216 kB / 405.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2764, allocations: 16.94 kB / 405.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.2764, allocations: 24.36 kB / 405.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.2768, allocations: 244.8 kB / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2768, allocations: 192 / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2768, allocations: 11.94 kB / 406 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.2769, allocations: 4 kB / 406 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.2771, allocations: 127.9 kB / 406.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2782, allocations: 0.8557 MB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.2785, allocations: 159.7 kB / 407.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2786, allocations: 66.88 kB / 407.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.2786, allocations: 3.984 kB / 407.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2786, allocations: 42.5 kB / 407.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2786, allocations: 0 / 407.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00037/0.279, allocations: 169.3 kB / 407.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.2791, allocations: 102.8 kB / 407.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2793, allocations: 206.1 kB / 407.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2793, allocations: 25.7 kB / 407.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2794, allocations: 167.9 kB / 407.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.2794, allocations: 59.11 kB / 408 MB, free: 2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.2795, allocations: 49.98 kB / 408 MB, free: 1.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2797, allocations: 330.8 kB / 408.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.2798, allocations: 44.55 kB / 408.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2799, allocations: 167.2 kB / 408.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.2802, allocations: 217.5 kB / 408.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2802, allocations: 0 / 408.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003435/0.2805, allocations: 241.1 kB / 409 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2806, allocations: 11.94 kB / 409 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2806, allocations: 7.984 kB / 409 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2806, allocations: 4 kB / 409 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2808, allocations: 63.86 kB / 409.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2808, allocations: 4.781 kB / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.281, allocations: 32.22 kB / 409.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.281, allocations: 20 kB / 409.2 MB, free: 0.7148 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 0.0001133/0.2811, allocations: 149.6 kB / 409.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.2812, allocations: 23.73 kB / 409.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.2813, allocations: 21.41 kB / 409.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2813, allocations: 7.938 kB / 409.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2813, allocations: 0 / 409.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.2813, allocations: 3.984 kB / 409.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.2818, allocations: 424.8 kB / 409.8 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2818, allocations: 4 kB / 409.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.282, allocations: 32.03 kB / 409.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2821, allocations: 4 kB / 409.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2821, allocations: 4 kB / 409.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2821, allocations: 3.938 kB / 409.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2821, allocations: 3.938 kB / 409.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.2825, allocations: 381.2 kB / 410.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.2825, allocations: 96.86 kB / 410.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.2826, allocations: 4 kB / 410.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2827, allocations: 4 kB / 410.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.2828, allocations: 23.91 kB / 410.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2828, allocations: 11.92 kB / 410.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.2829, allocations: 140.3 kB / 410.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2829, allocations: 4 kB / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.2832, allocations: 51.84 kB / 410.5 MB, free: 15.22 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.2834, allocations: 100 kB / 410.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.2836, allocations: 151.9 kB / 410.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2836, allocations: 3.938 kB / 410.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.2837, allocations: 47.92 kB / 410.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.2842, allocations: 27.98 kB / 410.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2852, allocations: 0.6196 MB / 411.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.2855, allocations: 0.7359 MB / 412.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.2856, allocations: 19.44 kB / 412.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2856, allocations: 3.938 kB / 412.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Templates: time 0.00405/0.2897, allocations: 2.327 MB / 414.6 MB, free: 11.11 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches