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.0009046/0.0009046, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.0009824/0.0009824, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.301/1.301, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002253/0.0002253, allocations: 13.03 kB / 302.1 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07241/0.07265, allocations: 50.41 MB / 352.5 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001375/0.07404, allocations: 1.198 MB / 353.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000549/0.0746, allocations: 399.8 kB / 354.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.07466, allocations: 4 kB / 354.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.07468, allocations: 3.938 kB / 354.1 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.07474, allocations: 3.984 kB / 354.1 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.07493, allocations: 31.23 kB / 354.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.07501, allocations: 27.92 kB / 354.2 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.07509, allocations: 15.98 kB / 354.2 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.07514, allocations: 11.94 kB / 354.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.07518, allocations: 15.92 kB / 354.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.0752, allocations: 0 / 354.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.07521, allocations: 0 / 354.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.07523, allocations: 11.94 kB / 354.2 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.07528, allocations: 41.56 kB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.608e-05/0.07534, allocations: 27.94 kB / 354.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.07535, allocations: 0 / 354.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.07535, allocations: 0 / 354.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.324e-06/0.07536, allocations: 4 kB / 354.3 MB, free: 1.656 MB / 286.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.0003688/0.07573, allocations: 347.7 kB / 354.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.07577, allocations: 8.031 kB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.0758, allocations: 8.844 kB / 354.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.07595, allocations: 168.4 kB / 354.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.07597, allocations: 12.31 kB / 354.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.07598, allocations: 4.375 kB / 354.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.07643, allocations: 163.4 kB / 355 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.07645, allocations: 0 / 355 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.07647, allocations: 4 kB / 355 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.07648, allocations: 4 kB / 355 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.07667, allocations: 47.95 kB / 355 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.0768, allocations: 161.6 kB / 355.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.0771, allocations: 98.52 kB / 355.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.07723, allocations: 36.91 kB / 355.3 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.07725, allocations: 0 / 355.3 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.07728, allocations: 46.42 kB / 355.4 MB, free: 412 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.07729, allocations: 0 / 355.4 MB, free: 412 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003603/0.07765, allocations: 113.6 kB / 355.5 MB, free: 292 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.0777, allocations: 51.41 kB / 355.5 MB, free: 228 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.07777, allocations: 109.8 kB / 355.6 MB, free: 108 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.07779, allocations: 25.7 kB / 355.7 MB, free: 76 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.07784, allocations: 92.12 kB / 355.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.07785, allocations: 0 / 355.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.07788, allocations: 9.719 kB / 355.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.07797, allocations: 322.8 kB / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.07799, allocations: 0 / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.07802, allocations: 31.38 kB / 356.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.07806, allocations: 39.36 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.07807, allocations: 0 / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.561e-05/0.07815, allocations: 57.48 kB / 356.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.07817, allocations: 12.06 kB / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.07819, allocations: 4 kB / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.0782, allocations: 0 / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.07825, allocations: 7.984 kB / 356.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.07826, allocations: 4 kB / 356.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.07829, allocations: 8 kB / 356.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.0783, allocations: 4 kB / 356.2 MB, free: 15.45 MB / 302.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 5.878e-05/0.07836, allocations: 109.8 kB / 356.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.07859, allocations: 89.59 kB / 356.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.07863, allocations: 11.91 kB / 356.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.07864, allocations: 3.938 kB / 356.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.07865, allocations: 4 kB / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.07865, allocations: 0 / 356.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.47e-05/0.07874, allocations: 157.7 kB / 356.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.07875, allocations: 4 kB / 356.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.906e-05/0.07884, allocations: 15.98 kB / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.07885, allocations: 3.938 kB / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.07886, allocations: 0 / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.07886, allocations: 0 / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.07887, allocations: 4 kB / 356.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.07912, allocations: 120.9 kB / 356.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.07916, allocations: 85.05 kB / 356.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.07918, allocations: 0 / 356.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.07924, allocations: 7.984 kB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.07925, allocations: 4 kB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.07926, allocations: 0 / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.635e-05/0.0793, allocations: 87.28 kB / 356.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07931, allocations: 0 / 356.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.07951, allocations: 4 kB / 356.9 MB, free: 14.64 MB / 302.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 6.706e-05/0.07958, allocations: 99.56 kB / 357 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.07974, allocations: 44.09 kB / 357.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.07975, allocations: 8.062 kB / 357.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.07976, allocations: 0 / 357.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.08007, allocations: 32.11 kB / 357.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.08033, allocations: 162.3 kB / 357.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.08053, allocations: 0.6848 MB / 358 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.08056, allocations: 11.38 kB / 358 MB, free: 13.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08057, allocations: 3.938 kB / 358 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Templates: time 0.001706/0.08228, allocations: 0.5928 MB / 358.6 MB, free: 12.95 MB / 302.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