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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 101.7 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 35.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3194, allocations: 49.45 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002639/0.3221, allocations: 1.527 MB / 401 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006435/0.3228, allocations: 407.1 kB / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.3229, allocations: 0 / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.323, allocations: 0 / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.323, allocations: 3.938 kB / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3233, allocations: 29.22 kB / 401.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.3234, allocations: 43.8 kB / 401.5 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3235, allocations: 8 kB / 401.5 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.3236, allocations: 11.98 kB / 401.5 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.3236, allocations: 15.92 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3236, allocations: 4 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.3237, allocations: 3.938 kB / 401.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.3237, allocations: 4 kB / 401.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.3237, allocations: 23.91 kB / 401.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.413e-05/0.3238, allocations: 27.84 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3238, allocations: 7.922 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3238, allocations: 4 kB / 401.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3238, allocations: 0 / 401.6 MB, free: 31.27 MB / 298.7 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.0004253/0.3243, allocations: 353 kB / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.3243, allocations: 8.031 kB / 401.9 MB, free: 30.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3244, allocations: 8.844 kB / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3246, allocations: 176.2 kB / 402.1 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3246, allocations: 4.375 kB / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3246, allocations: 4.375 kB / 402.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.325, allocations: 143.6 kB / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.325, allocations: 3.984 kB / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3251, allocations: 0 / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3251, allocations: 0 / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3252, allocations: 43.89 kB / 402.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.3253, allocations: 161.7 kB / 402.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3256, allocations: 78.52 kB / 402.6 MB, free: 30.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.3257, allocations: 28.92 kB / 402.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3257, allocations: 4 kB / 402.6 MB, free: 30.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3258, allocations: 34.5 kB / 402.6 MB, free: 30.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3258, allocations: 0 / 402.6 MB, free: 30.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003516/0.3261, allocations: 101.6 kB / 402.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3262, allocations: 55.41 kB / 402.8 MB, free: 29.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.3262, allocations: 109.8 kB / 402.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3263, allocations: 29.7 kB / 402.9 MB, free: 29.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.3263, allocations: 80.14 kB / 403 MB, free: 29.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.3263, allocations: 4 kB / 403 MB, free: 29.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.3263, allocations: 13.72 kB / 403 MB, free: 29.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.3264, allocations: 318.8 kB / 403.3 MB, free: 29.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.3264, allocations: 4 kB / 403.3 MB, free: 29.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.3265, allocations: 23.44 kB / 403.3 MB, free: 29.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.3265, allocations: 43.36 kB / 403.4 MB, free: 29.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3265, allocations: 0 / 403.4 MB, free: 29.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.56e-05/0.3266, allocations: 57.48 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3266, allocations: 12.06 kB / 403.5 MB, free: 29.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3266, allocations: 0 / 403.5 MB, free: 29.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3267, allocations: 4 kB / 403.5 MB, free: 29.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.3267, allocations: 11.92 kB / 403.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3267, allocations: 0 / 403.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.3268, allocations: 8 kB / 403.5 MB, free: 29.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.3268, allocations: 0 / 403.5 MB, free: 29.13 MB / 298.7 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.208e-05/0.3269, allocations: 117.7 kB / 403.6 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.327, allocations: 89.47 kB / 403.7 MB, free: 28.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3271, allocations: 7.906 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3271, allocations: 0 / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3271, allocations: 0 / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3271, allocations: 0 / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.424e-05/0.3272, allocations: 165.6 kB / 403.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3272, allocations: 336 / 403.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.3273, allocations: 15.98 kB / 403.9 MB, free: 28.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3273, allocations: 3.938 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3273, allocations: 0 / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3273, allocations: 4 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3273, allocations: 0 / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.3277, allocations: 0.6747 MB / 404.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.3278, allocations: 81.02 kB / 404.6 MB, free: 27.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3278, allocations: 8 kB / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.3278, allocations: 11.98 kB / 404.6 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-06/0.3278, allocations: 0 / 404.6 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3279, allocations: 0 / 404.6 MB, free: 27.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.3279, allocations: 79.28 kB / 404.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3279, allocations: 0 / 404.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.3282, allocations: 8 kB / 404.7 MB, free: 27.72 MB / 298.7 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.0001121/0.3283, allocations: 103.2 kB / 404.8 MB, free: 27.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3285, allocations: 35.86 kB / 404.9 MB, free: 27.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3285, allocations: 4 kB / 404.9 MB, free: 27.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3285, allocations: 0 / 404.9 MB, free: 27.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3289, allocations: 35.91 kB / 404.9 MB, free: 27.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3293, allocations: 242.5 kB / 405.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3294, allocations: 0.6809 MB / 405.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.73e-05/0.3294, allocations: 4 kB / 405.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.3294, allocations: 11.42 kB / 405.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3295, allocations: 0 / 405.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of Templates: time 0.002285/0.3317, allocations: 411.4 kB / 406.2 MB, free: 26.14 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches