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.001379/0.001379, allocations: 109.9 kB / 17.06 MB, free: 6.137 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.0015/0.0015, allocations: 191 kB / 18 MB, free: 5.219 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.572/1.572, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 51.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3829, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00282/0.3857, allocations: 1.477 MB / 402.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007114/0.3865, allocations: 415 kB / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.3865, allocations: 0 / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.3866, allocations: 3.938 kB / 402.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.3867, allocations: 3.938 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.3869, allocations: 27.97 kB / 402.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.01e-05/0.387, allocations: 39.8 kB / 402.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3871, allocations: 15.98 kB / 402.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.3872, allocations: 8 kB / 402.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.3873, allocations: 19.91 kB / 402.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3873, allocations: 4 kB / 402.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3873, allocations: 4 kB / 402.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3873, allocations: 11.92 kB / 402.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.3874, allocations: 11.94 kB / 402.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.3875, allocations: 35.83 kB / 402.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3875, allocations: 0 / 402.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3875, allocations: 0 / 402.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3875, allocations: 4 kB / 402.8 MB, free: 6.793 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.0005369/0.388, allocations: 355.6 kB / 403.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3881, allocations: 8.031 kB / 403.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.3881, allocations: 16.72 kB / 403.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3884, allocations: 172.4 kB / 403.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3884, allocations: 8.359 kB / 403.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3884, allocations: 8.359 kB / 403.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.3889, allocations: 131.6 kB / 403.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3889, allocations: 0 / 403.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3889, allocations: 4 kB / 403.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3889, allocations: 0 / 403.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3891, allocations: 47.89 kB / 403.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.3893, allocations: 161.6 kB / 403.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.3895, allocations: 78.52 kB / 403.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3897, allocations: 36.91 kB / 403.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3897, allocations: 0 / 403.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3897, allocations: 38.5 kB / 403.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3897, allocations: 0 / 403.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003488/0.3901, allocations: 93.58 kB / 403.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3901, allocations: 55.41 kB / 404 MB, free: 5.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.3902, allocations: 109.8 kB / 404.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3903, allocations: 29.7 kB / 404.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3903, allocations: 84.14 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.3903, allocations: 3.984 kB / 404.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3903, allocations: 13.72 kB / 404.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3905, allocations: 314.8 kB / 404.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.3905, allocations: 4 kB / 404.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.3905, allocations: 35.42 kB / 404.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.3906, allocations: 27.38 kB / 404.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3906, allocations: 4 kB / 404.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/0.3907, allocations: 65.59 kB / 404.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3907, allocations: 11.88 kB / 404.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3907, allocations: 0 / 404.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3907, allocations: 4 kB / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.3908, allocations: 4 kB / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3908, allocations: 0 / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.3908, allocations: 7.906 kB / 404.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.3908, allocations: 0 / 404.7 MB, free: 4.656 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 8.96e-05/0.3909, allocations: 117.8 kB / 404.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.3911, allocations: 89.61 kB / 404.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.3912, allocations: 4.234 kB / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3912, allocations: 0 / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3912, allocations: 0 / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3912, allocations: 3.984 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3913, allocations: 161.7 kB / 405.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3913, allocations: 7.938 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.3914, allocations: 11.98 kB / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3914, allocations: 3.938 kB / 405.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3914, allocations: 4 kB / 405.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3914, allocations: 0 / 405.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3914, allocations: 0 / 405.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.3917, allocations: 108.9 kB / 405.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.3917, allocations: 81.05 kB / 405.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3917, allocations: 0 / 405.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.3918, allocations: 11.98 kB / 405.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.3918, allocations: 0 / 405.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3918, allocations: 0 / 405.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.3919, allocations: 95.56 kB / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3919, allocations: 0 / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.3921, allocations: 4 kB / 405.4 MB, free: 3.855 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.000114/0.3922, allocations: 104 kB / 405.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3924, allocations: 39.91 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3924, allocations: 0 / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.3924, allocations: 0 / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3927, allocations: 32.02 kB / 405.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.393, allocations: 121.6 kB / 405.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3932, allocations: 0.6844 MB / 406.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.803e-05/0.3932, allocations: 12.09 kB / 406.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.3933, allocations: 7.438 kB / 406.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3933, allocations: 0 / 406.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of Templates: time 0.002398/0.3957, allocations: 426.6 kB / 406.8 MB, free: 2.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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