Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.413/1.413, allocations: 223.3 MB / 241.4 MB, free: 9.98 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.0009662/0.0009664, allocations: 100.3 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003297, allocations: 15.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 50.41 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09521/0.3865, allocations: 76.11 MB / 478.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3868, allocations: 77.36 kB / 478.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002222/0.3891, allocations: 0.7771 MB / 479.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3891, allocations: 3.344 kB / 479.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3891, allocations: 4 kB / 479.7 MB, free: 3.352 MB / 346.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.0003154/0.3894, allocations: 335.5 kB / 480 MB, free: 2.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3895, allocations: 8.031 kB / 480.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.3895, allocations: 8.938 kB / 480.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3897, allocations: 172.3 kB / 480.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3897, allocations: 4.312 kB / 480.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.3897, allocations: 8.375 kB / 480.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.39, allocations: 125.8 kB / 480.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3901, allocations: 192 / 480.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3901, allocations: 11.91 kB / 480.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3901, allocations: 0 / 480.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3902, allocations: 23.97 kB / 480.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.3903, allocations: 161.6 kB / 480.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3905, allocations: 58.48 kB / 480.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.3906, allocations: 28.92 kB / 480.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3906, allocations: 0 / 480.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3906, allocations: 34.56 kB / 480.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3906, allocations: 4 kB / 480.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002656/0.3909, allocations: 81.59 kB / 480.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.391, allocations: 59.3 kB / 480.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.391, allocations: 101.9 kB / 480.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3911, allocations: 25.7 kB / 480.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.3911, allocations: 84.14 kB / 481 MB, free: 1.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3911, allocations: 11.92 kB / 481 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.3911, allocations: 4 kB / 481 MB, free: 1.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3912, allocations: 314.8 kB / 481.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.3913, allocations: 4 kB / 481.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.3913, allocations: 31.42 kB / 481.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.3914, allocations: 39.38 kB / 481.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3914, allocations: 0 / 481.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.033e-05/0.3915, allocations: 61.62 kB / 481.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3915, allocations: 4 kB / 481.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3915, allocations: 3.938 kB / 481.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3915, allocations: 4 kB / 481.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.3916, allocations: 8 kB / 481.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3916, allocations: 8.062 kB / 481.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.3916, allocations: 3.938 kB / 481.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3916, allocations: 4 kB / 481.5 MB, free: 1.309 MB / 346.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: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.097e-05/0.3917, allocations: 113.8 kB / 481.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.3919, allocations: 69.73 kB / 481.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.392, allocations: 15.84 kB / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.392, allocations: 0 / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.392, allocations: 0 / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.392, allocations: 3.938 kB / 481.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.617e-05/0.3921, allocations: 162 kB / 481.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3921, allocations: 0 / 481.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.3922, allocations: 12 kB / 481.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3922, allocations: 3.938 kB / 481.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3922, allocations: 3.938 kB / 481.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3922, allocations: 11.92 kB / 481.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3922, allocations: 0 / 481.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3924, allocations: 89.09 kB / 482 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3925, allocations: 85.02 kB / 482.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3925, allocations: 7.938 kB / 482.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.3925, allocations: 7.984 kB / 482.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.3925, allocations: 0 / 482.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3926, allocations: 0 / 482.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.3926, allocations: 83.28 kB / 482.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3926, allocations: 0 / 482.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.3928, allocations: 4 kB / 482.2 MB, free: 0.5391 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.000114/0.3929, allocations: 103.2 kB / 482.3 MB, free: 440 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.393, allocations: 35.91 kB / 482.3 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.393, allocations: 0 / 482.3 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.393, allocations: 0 / 482.3 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3933, allocations: 27.92 kB / 482.3 MB, free: 376 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.3936, allocations: 131.4 kB / 482.5 MB, free: 220 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3939, allocations: 0.6928 MB / 483.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.3939, allocations: 0 / 483.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.3939, allocations: 11.44 kB / 483.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3939, allocations: 0 / 483.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002094/0.396, allocations: 377.5 kB / 483.5 MB, free: 15.12 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches