Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 175.6 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.384/1.384, allocations: 221.5 MB / 230.3 MB, free: 7.543 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.001045/0.001045, allocations: 95.02 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.206e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09079, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4127, allocations: 75.33 MB / 462.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.413, allocations: 79.94 kB / 462.9 MB, free: 3.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001837/0.4149, allocations: 0.7468 MB / 463.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4149, allocations: 0 / 463.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4149, allocations: 6.625 kB / 463.6 MB, free: 2.73 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.0002851/0.4152, allocations: 318.6 kB / 463.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4153, allocations: 8.031 kB / 463.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.4153, allocations: 17.53 kB / 464 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.4155, allocations: 176.6 kB / 464.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.4156, allocations: 3.984 kB / 464.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.4156, allocations: 3.938 kB / 464.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.281e-05/0.4156, allocations: 12 kB / 464.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4158, allocations: 88.03 kB / 464.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4158, allocations: 3.938 kB / 464.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4159, allocations: 3.984 kB / 464.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4159, allocations: 7.953 kB / 464.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.416, allocations: 138.2 kB / 464.4 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.4161, allocations: 34.58 kB / 464.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.4161, allocations: 16.89 kB / 464.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4161, allocations: 144 / 464.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.4162, allocations: 38.55 kB / 464.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.4162, allocations: 7.938 kB / 464.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001208/0.4163, allocations: 41.64 kB / 464.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.4164, allocations: 63.3 kB / 464.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.4164, allocations: 93 kB / 464.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.4165, allocations: 25.7 kB / 464.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.4165, allocations: 84.14 kB / 464.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.4165, allocations: 0 / 464.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.4165, allocations: 0 / 464.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4166, allocations: 326.8 kB / 465.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.4167, allocations: 4 kB / 465.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.4167, allocations: 27.44 kB / 465.1 MB, free: 1.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.827e-05/0.4167, allocations: 4 kB / 465.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4167, allocations: 0 / 465.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.094e-05/0.4168, allocations: 57.62 kB / 465.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4168, allocations: 9.562 kB / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4168, allocations: 0 / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4169, allocations: 0 / 465.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.4169, allocations: 7.938 kB / 465.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4169, allocations: 7.984 kB / 465.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.4169, allocations: 0 / 465.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.417, allocations: 4 kB / 465.2 MB, free: 0.9219 MB / 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * 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.185e-05/0.417, allocations: 117 kB / 465.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.4171, allocations: 45.61 kB / 465.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.4171, allocations: 4.125 kB / 465.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4172, allocations: 3.984 kB / 465.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4172, allocations: 4 kB / 465.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4172, allocations: 0 / 465.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.798e-05/0.4173, allocations: 138.1 kB / 465.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4173, allocations: 0 / 465.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.4173, allocations: 11.88 kB / 465.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4173, allocations: 0 / 465.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4173, allocations: 11.98 kB / 465.5 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4173, allocations: 0 / 465.5 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4174, allocations: 0 / 465.5 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.4174, allocations: 69.2 kB / 465.6 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.4175, allocations: 81.06 kB / 465.7 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4175, allocations: 4.625 kB / 465.7 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.4176, allocations: 0 / 465.7 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.4176, allocations: 0 / 465.7 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.4176, allocations: 12 kB / 465.7 MB, free: 344 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.4176, allocations: 87.64 kB / 465.8 MB, free: 256 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4176, allocations: 0 / 465.8 MB, free: 256 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.4178, allocations: 4 kB / 465.8 MB, free: 252 kB / 330.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0001199/0.4179, allocations: 99.19 kB / 465.9 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.418, allocations: 16 kB / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.418, allocations: 0 / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.418, allocations: 0 / 465.9 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.4182, allocations: 18.31 kB / 465.9 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.4184, allocations: 71.89 kB / 466 MB, free: 16 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.4187, allocations: 0.6846 MB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.4187, allocations: 7.906 kB / 466.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.4188, allocations: 7.438 kB / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4188, allocations: 0 / 466.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of Templates: time 0.001957/0.4207, allocations: 323.4 kB / 467 MB, free: 14.98 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches