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.001589/0.001589, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001862/0.001862, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 51.91 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2049, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002448/0.2074, allocations: 1.649 MB / 403 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.2076, allocations: 67.7 kB / 403.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.2076, allocations: 4 kB / 403.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.2077, allocations: 3.938 kB / 403.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.2078, allocations: 19.84 kB / 403.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.2079, allocations: 19.92 kB / 403.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.208, allocations: 59.78 kB / 403.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.2081, allocations: 27.92 kB / 403.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.2082, allocations: 23.92 kB / 403.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.2083, allocations: 23.92 kB / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2083, allocations: 7.938 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.2083, allocations: 8 kB / 403.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.2083, allocations: 15.86 kB / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2084, allocations: 27.88 kB / 403.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2085, allocations: 61.19 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2085, allocations: 0 / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2085, allocations: 4 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2085, allocations: 0 / 403.4 MB, free: 6.848 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.0003972/0.2089, allocations: 367.1 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.209, allocations: 8.031 kB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.209, allocations: 8.844 kB / 403.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2092, allocations: 176.3 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2092, allocations: 4.375 kB / 404 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.2092, allocations: 16.27 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2094, allocations: 70.19 kB / 404 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2094, allocations: 4.172 kB / 404 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2094, allocations: 7.938 kB / 404.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2094, allocations: 4 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.2095, allocations: 31.98 kB / 404.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.2101, allocations: 379.6 kB / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.2102, allocations: 62.55 kB / 404.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.2102, allocations: 20.8 kB / 404.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.2102, allocations: 0 / 404.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2102, allocations: 30.56 kB / 404.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2103, allocations: 0 / 404.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006556/0.2109, allocations: 0.5208 MB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.211, allocations: 51.41 kB / 405.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.211, allocations: 129.7 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2111, allocations: 29.7 kB / 405.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.2111, allocations: 91.95 kB / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2111, allocations: 31.55 kB / 405.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.2112, allocations: 25.72 kB / 405.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.2113, allocations: 322.8 kB / 405.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.2113, allocations: 16 kB / 405.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.2114, allocations: 64.27 kB / 405.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.964e-05/0.2115, allocations: 89.08 kB / 405.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2115, allocations: 0 / 405.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001564/0.2117, allocations: 109.5 kB / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2117, allocations: 4 kB / 406 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2117, allocations: 4 kB / 406 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2117, allocations: 0 / 406 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.2118, allocations: 27.92 kB / 406.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.2118, allocations: 0 / 406.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.2119, allocations: 11.94 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2119, allocations: 8.094 kB / 406.1 MB, free: 3.82 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.796e-05/0.212, allocations: 125.8 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.212, allocations: 7.906 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.212, allocations: 8.375 kB / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.212, allocations: 0 / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2121, allocations: 0 / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2121, allocations: 85.05 kB / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2121, allocations: 7.984 kB / 406.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.2122, allocations: 0 / 406.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.2122, allocations: 12.14 kB / 406.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002085/0.2124, allocations: 172.8 kB / 406.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002155/0.2126, allocations: 283 kB / 406.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.134e-05/0.2127, allocations: 28.05 kB / 406.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.2127, allocations: 87.28 kB / 406.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Backend: time 2.41e-07/0.2128, allocations: 0 / 406.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.2131, allocations: 126.4 kB / 407 MB, free: 2.836 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006507/0.2137, allocations: 0.7338 MB / 407.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Templates: time 0.002674/0.2164, allocations: 0.7616 MB / 408.5 MB, free: 1.301 MB / 318.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 -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