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.001092/0.001092, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001145/0.001146, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 44.34 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.08695, allocations: 49.46 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002829/0.08981, allocations: 1.629 MB / 353.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002365/0.09007, allocations: 59.78 kB / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.09015, allocations: 4 kB / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.089e-05/0.09027, allocations: 11.86 kB / 353.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.09033, allocations: 19.86 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.09044, allocations: 15.97 kB / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.09057, allocations: 63.73 kB / 353.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.09068, allocations: 23.92 kB / 353.3 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.09072, allocations: 19.94 kB / 353.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.09079, allocations: 27.91 kB / 353.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.09081, allocations: 4 kB / 353.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.09083, allocations: 4 kB / 353.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.0909, allocations: 19.92 kB / 353.4 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.09095, allocations: 27.88 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.09106, allocations: 67.72 kB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.09107, allocations: 0 / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09108, allocations: 3.938 kB / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.09109, allocations: 0 / 353.5 MB, free: 1.691 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.0004148/0.09151, allocations: 375.2 kB / 353.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.09155, allocations: 8.031 kB / 353.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.09159, allocations: 8.938 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.09179, allocations: 184.2 kB / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.09181, allocations: 4.375 kB / 354.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.09184, allocations: 8.375 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.09198, allocations: 70.17 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.092, allocations: 192 / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.09202, allocations: 7.938 kB / 354.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.09203, allocations: 4 kB / 354.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.09211, allocations: 35.97 kB / 354.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.09273, allocations: 381 kB / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.09284, allocations: 62.5 kB / 354.6 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.09288, allocations: 24.78 kB / 354.6 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.0929, allocations: 0 / 354.6 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.09292, allocations: 30.56 kB / 354.7 MB, free: 352 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.09293, allocations: 4 kB / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006893/0.09362, allocations: 0.513 MB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.09367, allocations: 51.41 kB / 355.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.09378, allocations: 113.8 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.0938, allocations: 33.7 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.09386, allocations: 92.03 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.09389, allocations: 31.56 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.09394, allocations: 34.11 kB / 355.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.09404, allocations: 318.8 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.09408, allocations: 15.98 kB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.09415, allocations: 57.14 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.09426, allocations: 89.08 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.09427, allocations: 3.938 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002019/0.09447, allocations: 113.5 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.0945, allocations: 4 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.09451, allocations: 4.094 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.09453, allocations: 4 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.09462, allocations: 27.92 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.09464, allocations: 3.938 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.09469, allocations: 8 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.0947, allocations: 4 kB / 356.2 MB, free: 14.66 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.538e-05/0.09478, allocations: 117.8 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.09482, allocations: 7.906 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.09486, allocations: 12.38 kB / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09487, allocations: 7.938 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.09488, allocations: 11.92 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.09489, allocations: 0 / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.09536, allocations: 398.6 kB / 356.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.09538, allocations: 4 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.09548, allocations: 24.09 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.09549, allocations: 0 / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.09551, allocations: 8 kB / 356.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.09551, allocations: 3.938 kB / 356.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.09552, allocations: 4 kB / 356.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.09575, allocations: 227.6 kB / 357 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.0958, allocations: 89.03 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.09583, allocations: 8 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.09591, allocations: 0 / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.09594, allocations: 7.984 kB / 357.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.09595, allocations: 8 kB / 357.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.416e-05/0.09601, allocations: 99.31 kB / 357.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.09601, allocations: 0 / 357.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.09628, allocations: 20 kB / 357.2 MB, free: 13.48 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 0.0001116/0.0964, allocations: 111.7 kB / 357.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.09655, allocations: 63.8 kB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.09656, allocations: 0 / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.09661, allocations: 28.42 kB / 357.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.09694, allocations: 16 kB / 357.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.09755, allocations: 335.2 kB / 357.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.09784, allocations: 0.6924 MB / 358.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.09789, allocations: 8.422 kB / 358.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.09793, allocations: 15.38 kB / 358.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.09793, allocations: 4 kB / 358.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Templates: time 0.002983/0.1009, allocations: 0.6609 MB / 359.1 MB, free: 11.49 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 -s gbode -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