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.001028/0.001028, allocations: 107.5 kB / 18.4 MB, free: 4.68 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.001011/0.001011, allocations: 187 kB / 19.34 MB, free: 3.758 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.261/1.261, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001205/0.001205, allocations: 55.91 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07161/0.07282, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002552/0.07539, allocations: 1.624 MB / 377.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.07564, allocations: 67.78 kB / 377.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.07571, allocations: 0 / 377.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/0.07583, allocations: 19.8 kB / 377.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.07588, allocations: 15.86 kB / 377.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.076, allocations: 15.98 kB / 377.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.07613, allocations: 67.72 kB / 377.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.07624, allocations: 23.97 kB / 377.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.07628, allocations: 19.94 kB / 377.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.07635, allocations: 23.86 kB / 377.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.07638, allocations: 12 kB / 377.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.0764, allocations: 4 kB / 377.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.07642, allocations: 15.92 kB / 377.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.07647, allocations: 31.86 kB / 377.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.07659, allocations: 59.73 kB / 377.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.07659, allocations: 0 / 377.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.0766, allocations: 4 kB / 377.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.07661, allocations: 3.938 kB / 377.8 MB, free: 2.582 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.0003909/0.07701, allocations: 355.4 kB / 378.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.07705, allocations: 12.03 kB / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.0771, allocations: 8.844 kB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.07728, allocations: 188.3 kB / 378.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.0773, allocations: 4.375 kB / 378.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.07733, allocations: 8.312 kB / 378.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.07748, allocations: 70.23 kB / 378.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.0775, allocations: 8.031 kB / 378.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.07752, allocations: 7.938 kB / 378.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.07753, allocations: 0 / 378.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.07761, allocations: 39.92 kB / 378.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.07821, allocations: 371.7 kB / 378.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.07832, allocations: 58.5 kB / 378.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.07836, allocations: 20.86 kB / 378.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.07838, allocations: 0 / 378.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.07841, allocations: 38.55 kB / 379 MB, free: 1.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.07842, allocations: 0 / 379 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006868/0.07911, allocations: 0.5052 MB / 379.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.07914, allocations: 55.39 kB / 379.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.07924, allocations: 121.8 kB / 379.7 MB, free: 464 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.07926, allocations: 25.7 kB / 379.7 MB, free: 432 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.07931, allocations: 103.9 kB / 379.8 MB, free: 324 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.07934, allocations: 35.55 kB / 379.8 MB, free: 288 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.07939, allocations: 21.72 kB / 379.8 MB, free: 260 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1582/0.2376, allocations: 322.8 kB / 380.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2377, allocations: 16.72 kB / 380.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.2379, allocations: 57.55 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2381, allocations: 89.3 kB / 380.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2381, allocations: 1.312 kB / 380.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002995/0.2384, allocations: 115.2 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2384, allocations: 6.875 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2384, allocations: 1.375 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.2385, allocations: 2.266 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.2387, allocations: 25.34 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.2387, allocations: 4.75 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.2388, allocations: 6.5 kB / 380.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2388, allocations: 4.125 kB / 380.5 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 8.562e-05/0.2389, allocations: 122.3 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.239, allocations: 10.67 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.2391, allocations: 13.77 kB / 380.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2391, allocations: 2.172 kB / 380.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2391, allocations: 0 / 380.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.2391, allocations: 89.97 kB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2392, allocations: 1.344 kB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2393, allocations: 3.188 kB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.2394, allocations: 7.594 kB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003191/0.2397, allocations: 169.1 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002962/0.24, allocations: 274.6 kB / 381.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.113e-05/0.2401, allocations: 24.62 kB / 381.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.2402, allocations: 98.38 kB / 381.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of Backend: time 8.71e-07/0.2402, allocations: 0 / 381.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005781/0.2408, allocations: 119.1 kB / 381.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of SimCode: time 0.000851/0.2417, allocations: 0.7506 MB / 382.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Templates: time 0.004723/0.2464, allocations: 0.7396 MB / 382.9 MB, free: 11.36 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/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