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.001161/0.00116, allocations: 108.8 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.94 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 50.54 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00308/0.1499, allocations: 1.48 MB / 358.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.1502, allocations: 27.91 kB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.1503, allocations: 0 / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.1503, allocations: 4 kB / 358.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.1504, allocations: 3.938 kB / 358.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1507, allocations: 27.97 kB / 358.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.677e-05/0.1508, allocations: 31.92 kB / 358.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1509, allocations: 8 kB / 358.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.1509, allocations: 11.92 kB / 358.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.151, allocations: 15.92 kB / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.151, allocations: 4 kB / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.151, allocations: 4 kB / 358.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.1511, allocations: 7.984 kB / 358.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.1511, allocations: 15.88 kB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.1512, allocations: 23.89 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1512, allocations: 8 kB / 358.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1512, allocations: 0 / 358.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1512, allocations: 0 / 358.6 MB, free: 12.74 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.000457/0.1517, allocations: 343.7 kB / 359 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1518, allocations: 8.031 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1518, allocations: 8.844 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.152, allocations: 172.4 kB / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.152, allocations: 384 / 359.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.152, allocations: 4.375 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.1524, allocations: 119.8 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1524, allocations: 4.188 kB / 359.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1524, allocations: 3.938 kB / 359.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1525, allocations: 0 / 359.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1526, allocations: 23.97 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1527, allocations: 153.7 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1529, allocations: 54.55 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.153, allocations: 24.92 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.153, allocations: 3.938 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.153, allocations: 30.56 kB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.153, allocations: 0 / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002576/0.1533, allocations: 77.52 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1533, allocations: 63.39 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.1534, allocations: 101.9 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1534, allocations: 25.7 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.1535, allocations: 88.08 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1535, allocations: 3.984 kB / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1536, allocations: 21.66 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1537, allocations: 314.8 kB / 360.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.1537, allocations: 7.938 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1537, allocations: 35.42 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.1538, allocations: 35.38 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1538, allocations: 4 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.986e-05/0.1539, allocations: 61.72 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1539, allocations: 8 kB / 360.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1539, allocations: 3.938 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1539, allocations: 0 / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.154, allocations: 11.98 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.154, allocations: 0 / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.154, allocations: 4 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.154, allocations: 0 / 360.4 MB, free: 10.7 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 9.163e-05/0.1541, allocations: 129.8 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1543, allocations: 54.06 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.1543, allocations: 15.42 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1543, allocations: 4 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1543, allocations: 0 / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1543, allocations: 4 kB / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1544, allocations: 153.7 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1545, allocations: 0 / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1545, allocations: 7.984 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1545, allocations: 0 / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1545, allocations: 3.938 kB / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1545, allocations: 4 kB / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1545, allocations: 0 / 360.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.1547, allocations: 92.95 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.1547, allocations: 81.05 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1548, allocations: 3.938 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.1548, allocations: 7.984 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-06/0.1548, allocations: 0 / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1548, allocations: 3.938 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.1549, allocations: 87.28 kB / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.1551, allocations: 4 kB / 361.1 MB, free: 9.945 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.0001333/0.1552, allocations: 99.19 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1554, allocations: 39.91 kB / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1554, allocations: 0 / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.1554, allocations: 256 / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1556, allocations: 24 kB / 361.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1559, allocations: 129.4 kB / 361.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1562, allocations: 0.6807 MB / 362 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.1563, allocations: 4 kB / 362 MB, free: 8.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1563, allocations: 11.44 kB / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1563, allocations: 0 / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of Templates: time 0.002441/0.1588, allocations: 376.8 kB / 362.4 MB, free: 8.535 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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