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.0008874/0.0008875, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008576, allocations: 98.47 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.48e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.09874, allocations: 50.43 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3225/0.4212, allocations: 75.79 MB / 463.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4215, allocations: 71.95 kB / 463.3 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003235/0.4247, allocations: 1.083 MB / 464.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4248, allocations: 0 / 464.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.4248, allocations: 2.625 kB / 464.4 MB, free: 1.926 MB / 330.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.0004147/0.4252, allocations: 343.2 kB / 464.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4253, allocations: 8.031 kB / 464.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.4253, allocations: 11.86 kB / 464.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.4255, allocations: 179 kB / 464.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4256, allocations: 11.88 kB / 465 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.4256, allocations: 4 kB / 465 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.419e-05/0.4257, allocations: 12 kB / 465 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.4259, allocations: 91.33 kB / 465.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4259, allocations: 0 / 465.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4259, allocations: 3.984 kB / 465.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.426, allocations: 7.953 kB / 465.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.4261, allocations: 141.6 kB / 465.2 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.4262, allocations: 50.48 kB / 465.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.4263, allocations: 20.89 kB / 465.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4263, allocations: 0 / 465.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4263, allocations: 34.56 kB / 465.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.4264, allocations: 0 / 465.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.4265, allocations: 53.83 kB / 465.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4266, allocations: 51.41 kB / 465.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.4267, allocations: 97 kB / 465.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4267, allocations: 25.7 kB / 465.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.4267, allocations: 84.14 kB / 465.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.4268, allocations: 7.922 kB / 465.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.4268, allocations: 0 / 465.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4269, allocations: 318.8 kB / 465.9 MB, free: 212 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.4269, allocations: 7.938 kB / 465.9 MB, free: 204 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.427, allocations: 27.44 kB / 466 MB, free: 164 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.65e-05/0.427, allocations: 4 kB / 466 MB, free: 160 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.427, allocations: 0 / 466 MB, free: 160 kB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.141e-05/0.4271, allocations: 61.56 kB / 466 MB, free: 92 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4271, allocations: 4 kB / 466 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4271, allocations: 0 / 466 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4271, allocations: 4 kB / 466 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.4272, allocations: 7.984 kB / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4272, allocations: 0 / 466 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.4272, allocations: 4 kB / 466.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4272, allocations: 0 / 466.1 MB, free: 72 kB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.4273, allocations: 114.9 kB / 466.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.4274, allocations: 49.78 kB / 466.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.4274, allocations: 8.344 kB / 466.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4274, allocations: 0 / 466.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4274, allocations: 4 kB / 466.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4274, allocations: 0 / 466.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.011e-05/0.4275, allocations: 142.2 kB / 466.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4275, allocations: 0 / 466.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.4276, allocations: 8 kB / 466.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4276, allocations: 7.938 kB / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4276, allocations: 3.984 kB / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4277, allocations: 4 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4277, allocations: 0 / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.304e-05/0.4278, allocations: 80.97 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.4278, allocations: 81.06 kB / 466.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.4278, allocations: 0 / 466.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.4279, allocations: 11.98 kB / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.4279, allocations: 4 kB / 466.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4279, allocations: 240 / 466.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.7e-05/0.428, allocations: 83.28 kB / 466.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.334e-06/0.428, allocations: 4 kB / 466.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.4282, allocations: 7.938 kB / 466.7 MB, free: 15.38 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.4283, allocations: 96.38 kB / 466.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.096e-05/0.4284, allocations: 19.94 kB / 466.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4284, allocations: 0 / 466.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-07/0.4284, allocations: 4.25 kB / 466.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.4286, allocations: 24.84 kB / 466.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.4288, allocations: 71.95 kB / 466.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.4291, allocations: 0.6807 MB / 467.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.4291, allocations: 0 / 467.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4291, allocations: 15.42 kB / 467.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4291, allocations: 0 / 467.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of Templates: time 0.001986/0.4311, allocations: 359.6 kB / 467.9 MB, free: 14.07 MB / 346.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/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