Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001679, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 65.14 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1412, allocations: 50.52 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.004319/0.1456, allocations: 1.422 MB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.1459, allocations: 27.92 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.146, allocations: 3.938 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.1461, allocations: 7.984 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.1462, allocations: 3.938 kB / 360.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1466, allocations: 27.34 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1467, allocations: 27.92 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1469, allocations: 4 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.147, allocations: 11.94 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.147, allocations: 19.91 kB / 360.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1471, allocations: 0 / 360.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.1471, allocations: 4 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.1471, allocations: 4 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.1472, allocations: 27.8 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1474, allocations: 27.91 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1474, allocations: 0 / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1474, allocations: 0 / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1474, allocations: 0 / 360.5 MB, free: 11.72 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.000679/0.1481, allocations: 343.4 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.1481, allocations: 12.03 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.1482, allocations: 4.844 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.1486, allocations: 188.3 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.1486, allocations: 4.375 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1487, allocations: 384 / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.1491, allocations: 111.9 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1491, allocations: 192 / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1491, allocations: 3.938 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.1492, allocations: 4 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1493, allocations: 23.97 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.1495, allocations: 157.7 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1497, allocations: 58.47 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.1498, allocations: 24.92 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1498, allocations: 0 / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1498, allocations: 30.56 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1498, allocations: 0 / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002924/0.1501, allocations: 81.52 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.1502, allocations: 67.33 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.1503, allocations: 97.86 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1503, allocations: 25.7 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1504, allocations: 84.14 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1504, allocations: 7.922 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1505, allocations: 17.72 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1506, allocations: 318.8 kB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.1507, allocations: 4 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.1507, allocations: 31.42 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.064e-05/0.1508, allocations: 39.38 kB / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1508, allocations: 0 / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.1509, allocations: 61.53 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.1509, allocations: 4 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1509, allocations: 7.938 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.151, allocations: 0 / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.151, allocations: 7.938 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1511, allocations: 0 / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.1511, allocations: 8 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1511, allocations: 8.062 kB / 362.3 MB, free: 9.664 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.0001169/0.1512, allocations: 117.8 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.1514, allocations: 57.69 kB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.1514, allocations: 15.42 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1515, allocations: 0 / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1515, allocations: 4 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1515, allocations: 0 / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1516, allocations: 149.7 kB / 362.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1516, allocations: 384 / 362.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.1517, allocations: 15.92 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1517, allocations: 8 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1517, allocations: 3.938 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1517, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1517, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.1519, allocations: 85.02 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.152, allocations: 85.05 kB / 362.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.152, allocations: 7.875 kB / 362.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.152, allocations: 11.98 kB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-06/0.152, allocations: 0 / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1521, allocations: 0 / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.1521, allocations: 83.28 kB / 362.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 362.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.1523, allocations: 4 kB / 362.9 MB, free: 8.918 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.1525, allocations: 99.47 kB / 363 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1526, allocations: 36.09 kB / 363.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1526, allocations: 0 / 363.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1527, allocations: 0 / 363.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1529, allocations: 31.92 kB / 363.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.1533, allocations: 119.1 kB / 363.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1537, allocations: 0.6768 MB / 363.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.891e-05/0.1537, allocations: 4 kB / 363.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.1538, allocations: 7.438 kB / 363.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1538, allocations: 4.125 kB / 363.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of Templates: time 0.003295/0.1571, allocations: 372.5 kB / 364.3 MB, free: 7.523 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches