Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 104.3 kB / 17.06 MB, free: 6.102 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.0013/0.0013, allocations: 196.1 kB / 18 MB, free: 5.176 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 43.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2844, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002818/0.2872, allocations: 1.651 MB / 402.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.2875, allocations: 63.72 kB / 402.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.2876, allocations: 4 kB / 402.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.246e-05/0.2877, allocations: 7.938 kB / 402.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.2878, allocations: 23.78 kB / 402.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.2879, allocations: 11.98 kB / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.288, allocations: 63.67 kB / 402.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2882, allocations: 27.97 kB / 402.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.2882, allocations: 23.92 kB / 402.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.2883, allocations: 23.92 kB / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2883, allocations: 8 kB / 402.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.2883, allocations: 4 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.2884, allocations: 11.88 kB / 402.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.2885, allocations: 35.84 kB / 402.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.2886, allocations: 57.2 kB / 402.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2886, allocations: 4 kB / 402.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2886, allocations: 8 kB / 402.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2886, allocations: 0 / 402.7 MB, free: 6.859 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004728/0.2891, allocations: 359.1 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2892, allocations: 8.031 kB / 403.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.2892, allocations: 8.844 kB / 403.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2895, allocations: 184.2 kB / 403.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.2895, allocations: 384 / 403.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.2895, allocations: 16.28 kB / 403.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2897, allocations: 66.23 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2897, allocations: 4.188 kB / 403.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2897, allocations: 7.938 kB / 403.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2897, allocations: 0 / 403.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.2898, allocations: 35.97 kB / 403.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.2905, allocations: 379.6 kB / 403.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.2907, allocations: 70.48 kB / 403.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.2907, allocations: 16.86 kB / 403.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.2907, allocations: 0 / 403.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.107e-05/0.2908, allocations: 34.5 kB / 403.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.2908, allocations: 4 kB / 403.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007695/0.2916, allocations: 0.513 MB / 404.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2916, allocations: 51.41 kB / 404.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2918, allocations: 125.8 kB / 404.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2918, allocations: 25.7 kB / 404.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.292, allocations: 99.94 kB / 404.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.292, allocations: 31.55 kB / 404.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.292, allocations: 25.72 kB / 404.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.2923, allocations: 322.8 kB / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.2923, allocations: 16 kB / 405.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.2924, allocations: 60.64 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2925, allocations: 93.02 kB / 405.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2925, allocations: 0 / 405.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001596/0.2926, allocations: 109.5 kB / 405.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2927, allocations: 8 kB / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2927, allocations: 0 / 405.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2927, allocations: 4 kB / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.2928, allocations: 23.98 kB / 405.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2928, allocations: 7.938 kB / 405.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.2928, allocations: 96 / 405.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2929, allocations: 8 kB / 405.4 MB, free: 3.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 8.087e-05/0.2929, allocations: 121.8 kB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.293, allocations: 7.906 kB / 405.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.293, allocations: 16.36 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.293, allocations: 0 / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.293, allocations: 3.938 kB / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2931, allocations: 0 / 405.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.2935, allocations: 418.6 kB / 406 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2935, allocations: 0 / 406 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.2936, allocations: 20.05 kB / 406 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.2936, allocations: 11.97 kB / 406 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2937, allocations: 3.938 kB / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2937, allocations: 4 kB / 406 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2937, allocations: 160 / 406 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2939, allocations: 231.6 kB / 406.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.2939, allocations: 85.05 kB / 406.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.294, allocations: 8.062 kB / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.294, allocations: 4 kB / 406.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.2941, allocations: 8.453 kB / 406.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2941, allocations: 12 kB / 406.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.2941, allocations: 95.2 kB / 406.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2941, allocations: 0 / 406.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.2944, allocations: 12 kB / 406.4 MB, free: 2.664 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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 9.582e-05/0.2945, allocations: 108 kB / 406.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.2947, allocations: 63.8 kB / 406.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2947, allocations: 0 / 406.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.2947, allocations: 27.92 kB / 406.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.295, allocations: 15.94 kB / 406.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.2956, allocations: 327.7 kB / 407 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2959, allocations: 0.6961 MB / 407.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.296, allocations: 16.41 kB / 407.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.296, allocations: 11.44 kB / 407.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.296, allocations: 0 / 407.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of Templates: time 0.002864/0.2989, allocations: 0.6681 MB / 408.4 MB, free: 0.6719 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches