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.001179/0.001178, allocations: 97.98 kB / 16.94 MB, free: 5.73 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.001368/0.001368, allocations: 182.7 kB / 17.83 MB, free: 5.352 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.528/1.528, allocations: 205.4 MB / 224 MB, free: 13.04 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.0004206/0.0004207, allocations: 12 kB / 280.7 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09884, allocations: 47.58 MB / 328.3 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001877/0.1008, allocations: 1.306 MB / 329.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.101, allocations: 71.75 kB / 329.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.1011, allocations: 4 kB / 329.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1011, allocations: 7.922 kB / 329.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/0.1012, allocations: 23.97 kB / 329.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.1013, allocations: 7.984 kB / 329.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1015, allocations: 55.86 kB / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.1016, allocations: 8 kB / 329.8 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.1016, allocations: 23.92 kB / 329.8 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.1017, allocations: 19.92 kB / 329.8 MB, free: 2.535 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1017, allocations: 4 kB / 329.9 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.1017, allocations: 0 / 329.9 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.1017, allocations: 15.92 kB / 329.9 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.1018, allocations: 37.7 kB / 329.9 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1019, allocations: 48.12 kB / 330 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1019, allocations: 0 / 330 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.102, allocations: 0 / 330 MB, free: 2.426 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.102, allocations: 0 / 330 MB, free: 2.426 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.0003664/0.1023, allocations: 347.2 kB / 330.3 MB, free: 2.039 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1024, allocations: 8.031 kB / 330.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1024, allocations: 11.84 kB / 330.3 MB, free: 2.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1026, allocations: 179 kB / 330.5 MB, free: 1.805 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1027, allocations: 11.95 kB / 330.5 MB, free: 1.793 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1027, allocations: 4 kB / 330.5 MB, free: 1.789 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1029, allocations: 69.67 kB / 330.6 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1029, allocations: 3.906 kB / 330.6 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1029, allocations: 0 / 330.6 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1029, allocations: 4 kB / 330.6 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.103, allocations: 39.91 kB / 330.6 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.1036, allocations: 375.6 kB / 331 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.1037, allocations: 58.5 kB / 331 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.1037, allocations: 11.92 kB / 331 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1038, allocations: 34.56 kB / 331.1 MB, free: 1.121 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1038, allocations: 0 / 331.1 MB, free: 1.121 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007857/0.1046, allocations: 0.5091 MB / 331.6 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1046, allocations: 59.36 kB / 331.7 MB, free: 460 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1047, allocations: 114 kB / 331.8 MB, free: 332 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1048, allocations: 25.7 kB / 331.8 MB, free: 300 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.1048, allocations: 92.05 kB / 331.9 MB, free: 204 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1048, allocations: 39.39 kB / 331.9 MB, free: 164 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1049, allocations: 8 kB / 331.9 MB, free: 156 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1051, allocations: 318.8 kB / 332.2 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.1051, allocations: 20 kB / 332.3 MB, free: 15.81 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.1052, allocations: 57.08 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.1052, allocations: 35.98 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1052, allocations: 0 / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001454/0.1054, allocations: 113.5 kB / 332.5 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1054, allocations: 4 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1054, allocations: 0 / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1054, allocations: 4 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.1055, allocations: 23.98 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1055, allocations: 8.75 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.1056, allocations: 4.469 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1056, allocations: 8.094 kB / 332.5 MB, free: 15.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.1057, allocations: 117.8 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1057, allocations: 4 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.1058, allocations: 8.375 kB / 332.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1058, allocations: 3.938 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1058, allocations: 7.984 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.1058, allocations: 3.953 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1063, allocations: 414.6 kB / 333.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1063, allocations: 0 / 333.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.1064, allocations: 16 kB / 333.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1064, allocations: 7.953 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1064, allocations: 0 / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1064, allocations: 4 kB / 333.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1064, allocations: 8.031 kB / 333.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1067, allocations: 296.2 kB / 333.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.1067, allocations: 85.05 kB / 333.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1068, allocations: 4 kB / 333.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1068, allocations: 0 / 333.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.1069, allocations: 15.94 kB / 333.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1069, allocations: 4 kB / 333.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.1069, allocations: 91.34 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1069, allocations: 0 / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1072, allocations: 20 kB / 333.6 MB, free: 14.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.154e-05/0.1073, allocations: 99.17 kB / 333.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1074, allocations: 51.92 kB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1074, allocations: 4 kB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.1075, allocations: 40.11 kB / 333.8 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1077, allocations: 4 kB / 333.8 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.1083, allocations: 402.1 kB / 334.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1087, allocations: 0.6926 MB / 334.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.1087, allocations: 8.422 kB / 334.9 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.1088, allocations: 19.44 kB / 334.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1088, allocations: 0 / 334.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of Templates: time 0.002592/0.1114, allocations: 0.589 MB / 335.5 MB, free: 12.31 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches