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.001818/0.001818, allocations: 105.2 kB / 17.73 MB, free: 5.238 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.001979/0.001979, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.601/1.601, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001333/0.001333, allocations: 47.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 46.61 MB / 375.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00292/0.1046, allocations: 1.636 MB / 376.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002477/0.1049, allocations: 63.77 kB / 376.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.1049, allocations: 4 kB / 376.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1051, allocations: 11.88 kB / 376.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.1051, allocations: 23.78 kB / 376.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.1053, allocations: 15.98 kB / 376.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1054, allocations: 67.72 kB / 376.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1055, allocations: 12 kB / 376.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.1056, allocations: 27.92 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.1057, allocations: 27.84 kB / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1057, allocations: 8 kB / 377 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.1057, allocations: 8 kB / 377 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.1057, allocations: 11.94 kB / 377 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.1058, allocations: 31.86 kB / 377.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1059, allocations: 63.72 kB / 377.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1059, allocations: 0 / 377.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1059, allocations: 0 / 377.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.106, allocations: 0 / 377.1 MB, free: 2.59 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.0004766/0.1064, allocations: 367.4 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1065, allocations: 8.031 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.1065, allocations: 8.844 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1067, allocations: 184.2 kB / 377.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1068, allocations: 384 / 377.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1068, allocations: 8.375 kB / 377.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.107, allocations: 66.23 kB / 377.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.107, allocations: 4.094 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.107, allocations: 11.94 kB / 377.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.107, allocations: 3.984 kB / 377.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.1071, allocations: 51.78 kB / 377.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.1078, allocations: 375.7 kB / 378.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1079, allocations: 54.56 kB / 378.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.1079, allocations: 20.8 kB / 378.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.108, allocations: 0 / 378.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.108, allocations: 34.56 kB / 378.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.108, allocations: 0 / 378.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007509/0.1087, allocations: 0.513 MB / 378.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1088, allocations: 51.41 kB / 378.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1089, allocations: 121.8 kB / 379 MB, free: 460 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1089, allocations: 29.7 kB / 379 MB, free: 424 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.109, allocations: 107.9 kB / 379.1 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.109, allocations: 31.55 kB / 379.1 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.1091, allocations: 25.72 kB / 379.2 MB, free: 248 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.236/0.3451, allocations: 314.8 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.3452, allocations: 18.64 kB / 379.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.3453, allocations: 55.58 kB / 379.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.3454, allocations: 88.31 kB / 379.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3454, allocations: 1.219 kB / 379.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001841/0.3456, allocations: 113.6 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3456, allocations: 5.938 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3456, allocations: 1.25 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3457, allocations: 2.594 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3458, allocations: 27.19 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3458, allocations: 9.391 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.3458, allocations: 2.375 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3459, allocations: 5.938 kB / 379.8 MB, free: 12.75 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.066e-05/0.3459, allocations: 123.7 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.346, allocations: 7.281 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.346, allocations: 10.88 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.346, allocations: 2.203 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.346, allocations: 5.531 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.346, allocations: 2.078 kB / 379.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.3465, allocations: 411.4 kB / 380.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3465, allocations: 1.375 kB / 380.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.3466, allocations: 18.08 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3466, allocations: 2.75 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3466, allocations: 11.88 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3466, allocations: 3.547 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3466, allocations: 1.375 kB / 380.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3468, allocations: 237.8 kB / 380.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.3468, allocations: 86.38 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3469, allocations: 3.719 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.3469, allocations: 5.406 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.347, allocations: 8.531 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.347, allocations: 7.672 kB / 380.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.347, allocations: 94.72 kB / 380.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.347, allocations: 0 / 380.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.3473, allocations: 20.72 kB / 380.8 MB, free: 11.93 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 7.904e-05/0.3474, allocations: 102.8 kB / 380.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3475, allocations: 62.64 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3475, allocations: 5.094 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.3476, allocations: 26.36 kB / 381 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3479, allocations: 15.34 kB / 381 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.3484, allocations: 332.4 kB / 381.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3485, allocations: 0.6949 MB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.3486, allocations: 7 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.3486, allocations: 12.94 kB / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3486, allocations: 0 / 382.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of Templates: time 0.002856/0.3515, allocations: 0.6746 MB / 382.8 MB, free: 10.82 MB / 318.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/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