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.00122/0.00122, allocations: 103.5 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.001166/0.001166, 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 trunk/package.mo): time 1.623/1.623, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.94 kB / 306.3 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003289/0.1392, allocations: 1.484 MB / 358.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.1394, allocations: 31.91 kB / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.1395, allocations: 0 / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1395, allocations: 0 / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.1396, allocations: 3.938 kB / 358.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1399, allocations: 23.97 kB / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.14, allocations: 27.92 kB / 358.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1401, allocations: 12 kB / 358.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1401, allocations: 15.92 kB / 358.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.1402, allocations: 7.938 kB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1402, allocations: 0 / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1402, allocations: 4 kB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1403, allocations: 11.97 kB / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.1403, allocations: 15.88 kB / 358.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1404, allocations: 19.91 kB / 358.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1405, allocations: 0 / 358.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1405, allocations: 0 / 358.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1405, allocations: 0 / 358.5 MB, free: 12.87 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.0005373/0.141, allocations: 347.7 kB / 358.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1411, allocations: 8.031 kB / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1411, allocations: 8.844 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1413, allocations: 172.4 kB / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1414, allocations: 384 / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1414, allocations: 8.375 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.1417, allocations: 115.8 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1418, allocations: 4.188 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1418, allocations: 11.92 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1418, allocations: 0 / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1419, allocations: 23.91 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1421, allocations: 153.7 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1423, allocations: 50.55 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.1424, allocations: 28.92 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.1424, allocations: 4 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1424, allocations: 34.5 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.1424, allocations: 0 / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002881/0.1427, allocations: 77.52 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1428, allocations: 59.39 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.1429, allocations: 97.86 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1429, allocations: 29.7 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.143, allocations: 88.14 kB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.143, allocations: 3.984 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1431, allocations: 17.72 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1432, allocations: 314.8 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.1433, allocations: 11.98 kB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.101e-05/0.1433, allocations: 27.38 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.1434, allocations: 35.44 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1434, allocations: 4 kB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.541e-05/0.1435, allocations: 65.47 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1435, allocations: 8 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1435, allocations: 4.062 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1436, allocations: 4 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.1436, allocations: 4 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1437, allocations: 4 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.1437, allocations: 384 / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1437, allocations: 3.984 kB / 360.2 MB, free: 10.82 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.908e-05/0.1438, allocations: 121.7 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.1439, allocations: 53.69 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.144, allocations: 19.42 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.144, allocations: 8 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.144, allocations: 0 / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.144, allocations: 0 / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1442, allocations: 153.7 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1442, allocations: 0 / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.1442, allocations: 7.984 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1442, allocations: 0 / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1442, allocations: 3.938 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1443, allocations: 3.938 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1443, allocations: 0 / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1444, allocations: 101.2 kB / 360.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.1445, allocations: 81.05 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1445, allocations: 7.938 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.1446, allocations: 7.984 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-06/0.1446, allocations: 0 / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1446, allocations: 0 / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.1446, allocations: 83.22 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1447, allocations: 0 / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1449, allocations: 8 kB / 360.9 MB, free: 10.07 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.000117/0.145, allocations: 99.25 kB / 361 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1451, allocations: 35.91 kB / 361 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1451, allocations: 0 / 361 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1452, allocations: 0 / 361 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1454, allocations: 20 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.1458, allocations: 123.6 kB / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1461, allocations: 0.6809 MB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.1462, allocations: 3.938 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.1462, allocations: 11.44 kB / 361.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1462, allocations: 0 / 361.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of Templates: time 0.002243/0.1484, allocations: 348.6 kB / 362.2 MB, free: 8.695 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