Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 114.9 kB / 17.75 MB, free: 5.312 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.001383/0.001383, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003208/0.3587, allocations: 1.477 MB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007734/0.3595, allocations: 407 kB / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.3596, allocations: 0 / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.3597, allocations: 3.938 kB / 403.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.3597, allocations: 7.922 kB / 403.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.36, allocations: 27.97 kB / 403.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3602, allocations: 39.86 kB / 403.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3603, allocations: 8 kB / 403.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.3604, allocations: 19.92 kB / 403.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.3604, allocations: 19.91 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3604, allocations: 4 kB / 403.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.3605, allocations: 4 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3605, allocations: 7.938 kB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.3605, allocations: 15.92 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3607, allocations: 31.84 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3607, allocations: 3.984 kB / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3607, allocations: 0 / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3607, allocations: 3.938 kB / 403.5 MB, free: 6.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005995/0.3613, allocations: 351.3 kB / 403.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3614, allocations: 8.031 kB / 403.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3614, allocations: 8.844 kB / 403.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.3617, allocations: 180.3 kB / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3617, allocations: 4.375 kB / 404 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3617, allocations: 384 / 404 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.3622, allocations: 147.6 kB / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3622, allocations: 0 / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3622, allocations: 0 / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3622, allocations: 0 / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.3624, allocations: 39.89 kB / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3626, allocations: 170.8 kB / 404.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.3629, allocations: 74.52 kB / 404.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.363, allocations: 32.92 kB / 404.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.363, allocations: 4 kB / 404.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3631, allocations: 38.48 kB / 404.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.3631, allocations: 3.984 kB / 404.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003906/0.3635, allocations: 97.58 kB / 404.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.3635, allocations: 51.41 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.3636, allocations: 109.8 kB / 404.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3637, allocations: 29.7 kB / 404.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.3637, allocations: 84.14 kB / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.3638, allocations: 0 / 404.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.3638, allocations: 21.7 kB / 404.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3639, allocations: 310.8 kB / 405.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.364, allocations: 4 kB / 405.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.364, allocations: 27.44 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.3641, allocations: 43.36 kB / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3641, allocations: 0 / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.692e-05/0.3642, allocations: 53.58 kB / 405.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3642, allocations: 16.05 kB / 405.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3642, allocations: 0 / 405.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3642, allocations: 7.938 kB / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.3643, allocations: 4 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3643, allocations: 4 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.3643, allocations: 7.906 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.3643, allocations: 0 / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 0.0001108/0.3645, allocations: 117.8 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.3647, allocations: 85.53 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3647, allocations: 7.906 kB / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3647, allocations: 0 / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.3647, allocations: 7.922 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3648, allocations: 0 / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3649, allocations: 157.7 kB / 405.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3649, allocations: 0 / 405.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.365, allocations: 11.98 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.365, allocations: 3.938 kB / 405.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.365, allocations: 0 / 405.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.365, allocations: 4 kB / 405.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.365, allocations: 0 / 405.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3652, allocations: 105 kB / 405.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3653, allocations: 85.05 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3653, allocations: 0 / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.3654, allocations: 7.984 kB / 406 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-06/0.3654, allocations: 7.938 kB / 406 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3654, allocations: 4 kB / 406 MB, free: 3.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.3655, allocations: 83.28 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3655, allocations: 0 / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.3657, allocations: 4 kB / 406.1 MB, free: 3.859 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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 0.000129/0.3658, allocations: 104 kB / 406.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.366, allocations: 32.11 kB / 406.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.366, allocations: 4.062 kB / 406.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.366, allocations: 0 / 406.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3663, allocations: 40.52 kB / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.3667, allocations: 147.3 kB / 406.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.367, allocations: 0.6805 MB / 407.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.367, allocations: 11.44 kB / 407.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of SimCode: time 1.893e-06/0.367, allocations: 4 kB / 407.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of Templates: time 0.001983/0.369, allocations: 0.6078 MB / 407.7 MB, free: 2.168 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches