Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001297/0.001297, allocations: 108.4 kB / 18.36 MB, free: 4.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.001204/0.001204, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 51.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09466, allocations: 46.63 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003019/0.09772, allocations: 1.639 MB / 330.4 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.098, allocations: 63.73 kB / 330.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.09808, allocations: 4 kB / 330.4 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.09821, allocations: 7.922 kB / 330.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.09827, allocations: 27.78 kB / 330.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.09842, allocations: 11.98 kB / 330.5 MB, free: 2 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.09855, allocations: 67.72 kB / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.09868, allocations: 19.92 kB / 330.6 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.09872, allocations: 19.94 kB / 330.6 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.09879, allocations: 31.84 kB / 330.6 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.09882, allocations: 4 kB / 330.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.09884, allocations: 12 kB / 330.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.09886, allocations: 7.984 kB / 330.6 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.09892, allocations: 35.86 kB / 330.7 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.09904, allocations: 59.73 kB / 330.7 MB, free: 1.746 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09905, allocations: 0 / 330.7 MB, free: 1.746 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.09906, allocations: 3.984 kB / 330.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.09907, allocations: 0 / 330.7 MB, free: 1.742 MB / 270.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.0004384/0.09951, allocations: 359.4 kB / 331.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.09956, allocations: 8.031 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.0996, allocations: 12.84 kB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.0998, allocations: 188.2 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.09982, allocations: 4.375 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.09987, allocations: 4.375 kB / 331.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1, allocations: 74.17 kB / 331.4 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1, allocations: 192 / 331.4 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1001, allocations: 11.88 kB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1001, allocations: 0 / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.1001, allocations: 35.97 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.1008, allocations: 379.5 kB / 331.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.1009, allocations: 54.56 kB / 331.8 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.1009, allocations: 21 kB / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.1009, allocations: 0 / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.101, allocations: 42.55 kB / 331.9 MB, free: 408 kB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.101, allocations: 4 kB / 331.9 MB, free: 404 kB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007441/0.1017, allocations: 0.5128 MB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1018, allocations: 51.41 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.1019, allocations: 121.8 kB / 332.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1019, allocations: 25.7 kB / 332.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.102, allocations: 100 kB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.102, allocations: 35.48 kB / 332.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1021, allocations: 25.7 kB / 332.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1022, allocations: 318.8 kB / 333.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.1022, allocations: 19.98 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.1023, allocations: 61.14 kB / 333.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1024, allocations: 97 kB / 333.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1024, allocations: 0 / 333.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001537/0.1026, allocations: 105.5 kB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1026, allocations: 4 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1026, allocations: 8.094 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1026, allocations: 0 / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.1027, allocations: 27.98 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1027, allocations: 7.938 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1028, allocations: 0 / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1028, allocations: 4 kB / 333.4 MB, free: 14.71 MB / 286.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.596e-05/0.1029, allocations: 121.8 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.1029, allocations: 7.906 kB / 333.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1029, allocations: 12.36 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.103, allocations: 8 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.103, allocations: 4.406 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.103, allocations: 0 / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1035, allocations: 406.5 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1035, allocations: 3.938 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.1036, allocations: 24.16 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1036, allocations: 3.938 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1036, allocations: 4 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1036, allocations: 3.984 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1036, allocations: 4 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1039, allocations: 231.6 kB / 334.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1039, allocations: 81.11 kB / 334.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.104, allocations: 7.938 kB / 334.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.104, allocations: 4 kB / 334.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.1041, allocations: 7.984 kB / 334.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1041, allocations: 4 kB / 334.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.1041, allocations: 95.34 kB / 334.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1041, allocations: 0 / 334.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1044, allocations: 16 kB / 334.4 MB, free: 13.55 MB / 286.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.866e-05/0.1045, allocations: 107.4 kB / 334.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1047, allocations: 59.8 kB / 334.6 MB, free: 13.37 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1047, allocations: 0 / 334.6 MB, free: 13.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.1047, allocations: 40.3 kB / 334.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1051, allocations: 11.94 kB / 334.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.1057, allocations: 343.2 kB / 335 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.106, allocations: 0.6927 MB / 335.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.011e-05/0.1061, allocations: 8.422 kB / 335.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1061, allocations: 11.44 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1061, allocations: 0 / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of Templates: time 0.003101/0.1092, allocations: 0.6543 MB / 336.4 MB, free: 11.55 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches