Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009124/0.0009123, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.354/1.354, allocations: 221.3 MB / 235.5 MB, free: 2.887 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.001071/0.001071, allocations: 99.72 kB / 286.5 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.02e-05, allocations: 4 kB / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09148, allocations: 50.42 MB / 394.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.3956, allocations: 76.04 MB / 470.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.3959, allocations: 75.95 kB / 470.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00209/0.398, allocations: 0.7104 MB / 471.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3981, allocations: 0 / 471.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3981, allocations: 0 / 471.1 MB, free: 10.75 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.000282/0.3984, allocations: 328.1 kB / 471.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3984, allocations: 19.97 kB / 471.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.3985, allocations: 8.484 kB / 471.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3986, allocations: 171 kB / 471.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3987, allocations: 4 kB / 471.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3987, allocations: 4 kB / 471.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.399, allocations: 91.33 kB / 471.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.399, allocations: 4 kB / 471.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.399, allocations: 0 / 471.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.399, allocations: 7.891 kB / 471.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.3991, allocations: 11.98 kB / 471.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.3992, allocations: 153.7 kB / 471.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.3993, allocations: 38.58 kB / 471.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.3994, allocations: 17.03 kB / 471.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3994, allocations: 7.984 kB / 471.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3995, allocations: 34.56 kB / 471.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3995, allocations: 3.938 kB / 472 MB, free: 9.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001465/0.3996, allocations: 45.61 kB / 472 MB, free: 9.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3997, allocations: 59.44 kB / 472.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.3998, allocations: 105 kB / 472.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3998, allocations: 25.7 kB / 472.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.3998, allocations: 84.14 kB / 472.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.3998, allocations: 4 kB / 472.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.3999, allocations: 4 kB / 472.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4, allocations: 314.8 kB / 472.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.4, allocations: 4 kB / 472.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.4, allocations: 31.42 kB / 472.6 MB, free: 8.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.4001, allocations: 11.94 kB / 472.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4001, allocations: 0 / 472.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.849e-05/0.4002, allocations: 53.62 kB / 472.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4002, allocations: 4 kB / 472.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4002, allocations: 4 kB / 472.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4002, allocations: 0 / 472.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.4003, allocations: 8 kB / 472.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4003, allocations: 4.562 kB / 472.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.4003, allocations: 12.02 kB / 472.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4003, allocations: 7.953 kB / 472.7 MB, free: 8.867 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 5.491e-05/0.4004, allocations: 108.9 kB / 472.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.4004, allocations: 45.7 kB / 472.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.4005, allocations: 12.02 kB / 472.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4005, allocations: 0 / 472.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4005, allocations: 0 / 472.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4005, allocations: 0 / 472.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.4006, allocations: 161.5 kB / 473 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4006, allocations: 4 kB / 473 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.4007, allocations: 15.98 kB / 473.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4008, allocations: 0 / 473.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4008, allocations: 0 / 473.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4008, allocations: 4 kB / 473.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.4008, allocations: 0 / 473.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.4009, allocations: 77.02 kB / 473.1 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.401, allocations: 81.02 kB / 473.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.401, allocations: 8 kB / 473.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.4011, allocations: 4 kB / 473.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-06/0.4011, allocations: 0 / 473.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4011, allocations: 0 / 473.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.335e-05/0.4012, allocations: 87.52 kB / 473.3 MB, free: 8.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4012, allocations: 4 kB / 473.3 MB, free: 8.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.4013, allocations: 4 kB / 473.3 MB, free: 8.164 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 9.603e-05/0.4014, allocations: 99.25 kB / 473.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.753e-05/0.4015, allocations: 23.94 kB / 473.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4015, allocations: 3.938 kB / 473.4 MB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.4015, allocations: 0 / 473.4 MB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4017, allocations: 15.95 kB / 473.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.4019, allocations: 66.08 kB / 473.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.4021, allocations: 0.6848 MB / 474.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.316e-05/0.4021, allocations: 4.25 kB / 474.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.4021, allocations: 11.44 kB / 474.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4021, allocations: 0 / 474.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of Templates: time 0.001776/0.4039, allocations: 298.9 kB / 474.5 MB, free: 6.914 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches