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.001378/0.001378, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.00156/0.00156, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009455/0.0009455, allocations: 51.23 kB / 300 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08838, allocations: 49.44 MB / 349.4 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00268/0.0911, allocations: 1.701 MB / 351.1 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.09133, allocations: 67.77 kB / 351.2 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/0.0914, allocations: 0 / 351.2 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.09151, allocations: 7.922 kB / 351.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.09157, allocations: 15.86 kB / 351.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.09169, allocations: 19.98 kB / 351.2 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.09181, allocations: 67.67 kB / 351.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.09192, allocations: 23.92 kB / 351.3 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.239e-05/0.09196, allocations: 23.92 kB / 351.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.09202, allocations: 19.92 kB / 351.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.09205, allocations: 4 kB / 351.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.09207, allocations: 0 / 351.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.0921, allocations: 15.92 kB / 351.3 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.09214, allocations: 27.88 kB / 351.4 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.09224, allocations: 68 kB / 351.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09225, allocations: 0 / 351.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.09225, allocations: 0 / 351.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.09226, allocations: 0 / 351.4 MB, free: 2.59 MB / 286.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.0003892/0.09265, allocations: 359.3 kB / 351.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.09269, allocations: 12.03 kB / 351.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.09273, allocations: 0.9375 kB / 351.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.09288, allocations: 188.2 kB / 352 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.0929, allocations: 16.36 kB / 352 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.09293, allocations: 4.375 kB / 352 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.09307, allocations: 66.23 kB / 352.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.09309, allocations: 4.188 kB / 352.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.0931, allocations: 3.938 kB / 352.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.09311, allocations: 0 / 352.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.0932, allocations: 35.98 kB / 352.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.09381, allocations: 387.4 kB / 352.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.09393, allocations: 54.56 kB / 352.5 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.09397, allocations: 16.86 kB / 352.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.09399, allocations: 0 / 352.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.09402, allocations: 46.44 kB / 352.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.09402, allocations: 0 / 352.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006441/0.09467, allocations: 0.5091 MB / 353.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.09471, allocations: 55.41 kB / 353.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.0948, allocations: 121.8 kB / 353.3 MB, free: 464 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.09482, allocations: 25.7 kB / 353.3 MB, free: 432 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.09487, allocations: 92.05 kB / 353.4 MB, free: 336 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.0949, allocations: 31.55 kB / 353.4 MB, free: 304 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.09494, allocations: 29.72 kB / 353.5 MB, free: 268 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.09504, allocations: 318.8 kB / 353.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/0.09508, allocations: 20 kB / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.09515, allocations: 53.14 kB / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.09525, allocations: 93.02 kB / 353.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.09526, allocations: 0 / 353.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001532/0.09542, allocations: 117.4 kB / 354.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.09544, allocations: 8 kB / 354.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.09545, allocations: 3.984 kB / 354.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.09547, allocations: 4 kB / 354.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.09555, allocations: 16.09 kB / 354.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.09557, allocations: 12.41 kB / 354.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.09562, allocations: 3.984 kB / 354.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.09563, allocations: 4 kB / 354.1 MB, free: 15.57 MB / 302.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 7.247e-05/0.09571, allocations: 125.7 kB / 354.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.09574, allocations: 7.906 kB / 354.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.09578, allocations: 16.31 kB / 354.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.09579, allocations: 0 / 354.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.0958, allocations: 3.938 kB / 354.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.0958, allocations: 4 kB / 354.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.09624, allocations: 414.5 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.09625, allocations: 0 / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.09635, allocations: 19.98 kB / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.09636, allocations: 4.156 kB / 354.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.09637, allocations: 4 kB / 354.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.09638, allocations: 4 kB / 354.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.09639, allocations: 0 / 354.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.09659, allocations: 243.5 kB / 354.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.09663, allocations: 85.05 kB / 355 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.09666, allocations: 0 / 355 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.09673, allocations: 7.984 kB / 355 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.09676, allocations: 8 kB / 355 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.09677, allocations: 4 kB / 355 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.09682, allocations: 91.27 kB / 355.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09682, allocations: 64 / 355.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.09708, allocations: 20 kB / 355.1 MB, free: 14.39 MB / 302.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 8.858e-05/0.09718, allocations: 110.4 kB / 355.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.0973, allocations: 59.84 kB / 355.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09731, allocations: 0 / 355.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.09736, allocations: 27.94 kB / 355.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.09771, allocations: 19.67 kB / 355.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.09826, allocations: 369 kB / 355.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.09848, allocations: 0.6887 MB / 356.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.497e-05/0.09853, allocations: 8.438 kB / 356.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.09856, allocations: 15.38 kB / 356.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.09856, allocations: 0 / 356.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002628/0.1012, allocations: 0.6181 MB / 357.1 MB, free: 12.42 MB / 302.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