Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001798, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.592/1.592, allocations: 227.7 MB / 246.6 MB, free: 10.61 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 69 kB / 306.6 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1357, allocations: 50.54 MB / 357.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003839/0.1396, allocations: 1.479 MB / 358.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002271/0.1398, allocations: 27.91 kB / 358.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.14, allocations: 3.938 kB / 358.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.14, allocations: 4 kB / 358.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.1401, allocations: 0 / 358.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1403, allocations: 19.97 kB / 358.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.1404, allocations: 27.92 kB / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1406, allocations: 8 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.1406, allocations: 15.92 kB / 358.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.1407, allocations: 19.86 kB / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1407, allocations: 0 / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.1407, allocations: 4 kB / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.1408, allocations: 7.984 kB / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1408, allocations: 15.88 kB / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1409, allocations: 15.97 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1409, allocations: 3.938 kB / 358.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1409, allocations: 4 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.141, allocations: 0 / 358.8 MB, free: 12.7 MB / 302.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.000544/0.1415, allocations: 351.7 kB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1416, allocations: 8.031 kB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.1416, allocations: 8.844 kB / 359.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1418, allocations: 172.3 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1418, allocations: 384 / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1419, allocations: 8.375 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1422, allocations: 115.8 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1423, allocations: 4.188 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1423, allocations: 3.938 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1423, allocations: 0 / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1424, allocations: 23.97 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1426, allocations: 153.7 kB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1427, allocations: 54.48 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.1428, allocations: 24.92 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.1428, allocations: 4 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1429, allocations: 34.56 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1429, allocations: 0 / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002741/0.1432, allocations: 81.45 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1432, allocations: 51.41 kB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.1433, allocations: 105.8 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1433, allocations: 25.7 kB / 360 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.1434, allocations: 84.14 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.1434, allocations: 4 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.1435, allocations: 21.7 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1436, allocations: 314.8 kB / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.1436, allocations: 7.938 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.1437, allocations: 31.42 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.1437, allocations: 43.38 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1438, allocations: 0 / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.178e-05/0.1439, allocations: 57.53 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.1439, allocations: 8 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1439, allocations: 3.938 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1439, allocations: 128 / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.144, allocations: 15.88 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.144, allocations: 4 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.144, allocations: 384 / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.144, allocations: 4 kB / 360.5 MB, free: 10.66 MB / 302.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.1441, allocations: 117.8 kB / 360.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.1443, allocations: 53.69 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.1443, allocations: 19.42 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1443, allocations: 0 / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1443, allocations: 4 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1444, allocations: 3.938 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1445, allocations: 153.7 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1445, allocations: 0 / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.1445, allocations: 8.219 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1445, allocations: 0 / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1446, allocations: 3.938 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1446, allocations: 3.984 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1446, allocations: 0 / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1448, allocations: 97 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.1448, allocations: 81.05 kB / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1449, allocations: 11.94 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.1449, allocations: 3.984 kB / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-06/0.1449, allocations: 0 / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1449, allocations: 0 / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.145, allocations: 79.28 kB / 361.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.145, allocations: 7.938 kB / 361.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001892/0.1452, allocations: 8 kB / 361.2 MB, free: 9.902 MB / 302.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: 4 (assignClock1.u,assignClock1.y,step.y,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 (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.0001394/0.1453, allocations: 103.2 kB / 361.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1455, allocations: 23.98 kB / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1455, allocations: 0 / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1455, allocations: 0 / 361.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.1457, allocations: 31.95 kB / 361.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.1461, allocations: 123.5 kB / 361.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1465, allocations: 0.6809 MB / 362.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.1465, allocations: 0 / 362.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.1465, allocations: 7.438 kB / 362.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1466, allocations: 0 / 362.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of Templates: time 0.002726/0.1493, allocations: 359.8 kB / 362.5 MB, free: 8.531 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches