Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 55.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4451, allocations: 50.55 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003685/0.4488, allocations: 1.433 MB / 410.7 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.4492, allocations: 99.73 kB / 410.8 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.4493, allocations: 0 / 410.8 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.4493, allocations: 3.938 kB / 410.8 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.4494, allocations: 3.938 kB / 410.8 MB, free: 64 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.4497, allocations: 23.97 kB / 410.8 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.4498, allocations: 27.92 kB / 410.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4499, allocations: 4 kB / 410.8 MB, free: 8 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.4499, allocations: 20 kB / 410.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.45, allocations: 15.84 kB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.45, allocations: 0 / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.45, allocations: 4 kB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.45, allocations: 0 / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.4501, allocations: 19.86 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.4502, allocations: 23.91 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4502, allocations: 0 / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4502, allocations: 0 / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.4502, allocations: 7.938 kB / 410.9 MB, free: 15.92 MB / 334.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.0005041/0.4508, allocations: 339.1 kB / 411.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4508, allocations: 12.03 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.4508, allocations: 0.9375 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.4511, allocations: 180.2 kB / 411.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4511, allocations: 8.375 kB / 411.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.4511, allocations: 384 / 411.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.4514, allocations: 103.9 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4515, allocations: 192 / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4515, allocations: 11.92 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4515, allocations: 4 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.4516, allocations: 11.98 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.4517, allocations: 153.7 kB / 411.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4519, allocations: 50.5 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.4519, allocations: 24.92 kB / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4519, allocations: 0 / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.452, allocations: 34.56 kB / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.452, allocations: 0 / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002231/0.4522, allocations: 61.61 kB / 411.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.4523, allocations: 63.34 kB / 412 MB, free: 14.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.4524, allocations: 109.8 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4524, allocations: 25.7 kB / 412.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.4524, allocations: 84.14 kB / 412.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.4525, allocations: 4 kB / 412.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.4525, allocations: 13.72 kB / 412.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4526, allocations: 314.8 kB / 412.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.4526, allocations: 11.92 kB / 412.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.4527, allocations: 27.44 kB / 412.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.4527, allocations: 31.38 kB / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4527, allocations: 0 / 412.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.393e-05/0.4528, allocations: 57.72 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4528, allocations: 8 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4528, allocations: 3.938 kB / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4529, allocations: 0 / 412.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.4529, allocations: 8.188 kB / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4529, allocations: 0 / 412.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.453, allocations: 13.41 kB / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.453, allocations: 3.984 kB / 412.7 MB, free: 13.93 MB / 334.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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.232e-05/0.453, allocations: 113.8 kB / 412.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.4531, allocations: 57.72 kB / 412.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.4532, allocations: 7.438 kB / 412.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4532, allocations: 0 / 412.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4532, allocations: 3.938 kB / 412.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4532, allocations: 0 / 412.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.951e-05/0.4533, allocations: 161.5 kB / 413 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4533, allocations: 3.984 kB / 413 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.4533, allocations: 7.938 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4534, allocations: 336 / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.4534, allocations: 3.938 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4534, allocations: 0 / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4534, allocations: 4 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.4535, allocations: 81.11 kB / 413.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.4535, allocations: 77.11 kB / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4536, allocations: 11.92 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.4536, allocations: 4 kB / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.4536, allocations: 0 / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.4536, allocations: 0 / 413.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.4537, allocations: 83.28 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4537, allocations: 0 / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.4539, allocations: 8 kB / 413.3 MB, free: 13.2 MB / 334.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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 0.0001075/0.454, allocations: 103.2 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4541, allocations: 16 kB / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4541, allocations: 3.938 kB / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.4541, allocations: 0 / 413.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.4543, allocations: 28.17 kB / 413.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.4546, allocations: 105.6 kB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4549, allocations: 0.6846 MB / 414.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.597e-05/0.4549, allocations: 0 / 414.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.4549, allocations: 11.44 kB / 414.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4549, allocations: 0 / 414.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Templates: time 0.002311/0.4573, allocations: 320.8 kB / 414.5 MB, free: 11.88 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches