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.001724/0.001724, allocations: 114.9 kB / 17.75 MB, free: 5.312 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.002074/0.002074, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 43.92 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.265, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00299/0.268, allocations: 1.65 MB / 403 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000258/0.2683, allocations: 67.73 kB / 403.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.2684, allocations: 0 / 403.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.2685, allocations: 15.92 kB / 403.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.2686, allocations: 19.78 kB / 403.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.2687, allocations: 15.98 kB / 403.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.2688, allocations: 63.72 kB / 403.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.269, allocations: 23.98 kB / 403.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.269, allocations: 27.86 kB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.2691, allocations: 23.92 kB / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2691, allocations: 4 kB / 403.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.2691, allocations: 4 kB / 403.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.2692, allocations: 15.92 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.2692, allocations: 27.86 kB / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2693, allocations: 63.45 kB / 403.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2694, allocations: 0 / 403.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2694, allocations: 0 / 403.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2694, allocations: 4 kB / 403.4 MB, free: 6.871 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.0004364/0.2698, allocations: 364.8 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2699, allocations: 12.03 kB / 403.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.2699, allocations: 8.844 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2701, allocations: 180.2 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2701, allocations: 4.375 kB / 404 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.2702, allocations: 12.28 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.2703, allocations: 70.23 kB / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2704, allocations: 4.172 kB / 404 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2704, allocations: 7.938 kB / 404.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2704, allocations: 4 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.2705, allocations: 35.97 kB / 404.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.2711, allocations: 371.5 kB / 404.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.2712, allocations: 62.5 kB / 404.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.2713, allocations: 20.84 kB / 404.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2713, allocations: 4.156 kB / 404.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2713, allocations: 30.56 kB / 404.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2713, allocations: 0 / 404.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007678/0.2721, allocations: 0.5206 MB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2721, allocations: 51.41 kB / 405.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.2722, allocations: 117.8 kB / 405.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2723, allocations: 29.7 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.2723, allocations: 95.94 kB / 405.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.2723, allocations: 31.55 kB / 405.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.2724, allocations: 29.7 kB / 405.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2725, allocations: 318.8 kB / 405.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.2725, allocations: 19.98 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.2726, allocations: 63.77 kB / 405.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2727, allocations: 93.02 kB / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2727, allocations: 0 / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001479/0.2729, allocations: 109.5 kB / 406 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2729, allocations: 4 kB / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2729, allocations: 0 / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2729, allocations: 4 kB / 406 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.273, allocations: 23.98 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.273, allocations: 4.406 kB / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.2731, allocations: 8 kB / 406.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.2731, allocations: 12.09 kB / 406.1 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 7.941e-05/0.2732, allocations: 121.8 kB / 406.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.2732, allocations: 8.047 kB / 406.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.2733, allocations: 20.28 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2733, allocations: 0 / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2733, allocations: 3.938 kB / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2733, allocations: 4 kB / 406.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.2738, allocations: 406.5 kB / 406.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2738, allocations: 4 kB / 406.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.2739, allocations: 19.94 kB / 406.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.2739, allocations: 4 kB / 406.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2739, allocations: 7.938 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2739, allocations: 3.984 kB / 406.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2739, allocations: 4 kB / 406.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.2741, allocations: 223.9 kB / 406.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.2742, allocations: 85.05 kB / 407 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2742, allocations: 12.06 kB / 407 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.2743, allocations: 3.938 kB / 407 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.2743, allocations: 7.984 kB / 407 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2743, allocations: 4 kB / 407 MB, free: 2.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.2744, allocations: 95.27 kB / 407.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2744, allocations: 0 / 407.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.2746, allocations: 16 kB / 407.1 MB, free: 2.672 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 0.0001135/0.2748, allocations: 108 kB / 407.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.2749, allocations: 63.8 kB / 407.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2749, allocations: 0 / 407.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.275, allocations: 27.92 kB / 407.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2753, allocations: 9.234 kB / 407.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.2759, allocations: 368.8 kB / 407.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2761, allocations: 0.6961 MB / 408.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.2761, allocations: 11.44 kB / 408.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2761, allocations: 4 kB / 408.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Templates: time 0.002296/0.2784, allocations: 1 MB / 409.4 MB, free: 328 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/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