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.001769/0.001769, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001913, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.39 kB / 307 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1338, allocations: 50.55 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003527/0.1374, allocations: 1.414 MB / 359 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.1377, allocations: 23.91 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.1378, allocations: 8 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.1378, allocations: 3.938 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.1379, allocations: 3.938 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1382, allocations: 27.97 kB / 359 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.1383, allocations: 23.92 kB / 359 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1385, allocations: 12 kB / 359.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1385, allocations: 19.91 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.1386, allocations: 7.938 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1386, allocations: 4 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.1386, allocations: 4 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.1387, allocations: 7.984 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.1387, allocations: 19.88 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1388, allocations: 23.89 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1388, allocations: 0 / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1388, allocations: 0 / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1389, allocations: 0 / 359.1 MB, free: 12.46 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.0005522/0.1394, allocations: 347.7 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1395, allocations: 8.031 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1395, allocations: 8.844 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1397, allocations: 172.4 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1398, allocations: 384 / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1398, allocations: 12.31 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.1401, allocations: 115.8 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1402, allocations: 4.172 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1402, allocations: 3.938 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1402, allocations: 0 / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1403, allocations: 19.98 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.1405, allocations: 157.7 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1407, allocations: 50.55 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.1408, allocations: 28.91 kB / 360 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1408, allocations: 3.938 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.1408, allocations: 30.56 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1408, allocations: 8 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002884/0.1411, allocations: 77.5 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1412, allocations: 55.41 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1413, allocations: 101.9 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1414, allocations: 25.7 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1414, allocations: 88.12 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1414, allocations: 0 / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1415, allocations: 17.72 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1416, allocations: 322.8 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.1417, allocations: 11.92 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.1417, allocations: 27.44 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.1418, allocations: 39.38 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1418, allocations: 384 / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.695e-05/0.1419, allocations: 61.53 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1419, allocations: 8 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1419, allocations: 3.938 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1419, allocations: 0 / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.142, allocations: 8 kB / 360.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.142, allocations: 7.984 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.1421, allocations: 128 / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1421, allocations: 8 kB / 360.9 MB, free: 10.41 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.052e-05/0.1422, allocations: 113.8 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1423, allocations: 61.67 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.1424, allocations: 11.44 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1424, allocations: 0 / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1424, allocations: 0 / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1424, allocations: 0 / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1425, allocations: 157.6 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1425, allocations: 3.984 kB / 361.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.958e-05/0.1426, allocations: 8 kB / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1426, allocations: 0 / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1426, allocations: 3.938 kB / 361.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1426, allocations: 0 / 361.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1426, allocations: 0 / 361.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1428, allocations: 94.64 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.1429, allocations: 81.05 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1429, allocations: 7.938 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.1429, allocations: 11.98 kB / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.1429, allocations: 0 / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1429, allocations: 0 / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.143, allocations: 83.22 kB / 361.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 361.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.1432, allocations: 8 kB / 361.6 MB, free: 9.664 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.0001535/0.1434, allocations: 105.9 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1435, allocations: 31.92 kB / 361.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1435, allocations: 0 / 361.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.1435, allocations: 0 / 361.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1438, allocations: 31.11 kB / 361.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.1441, allocations: 121.4 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1445, allocations: 0.6808 MB / 362.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.312e-05/0.1445, allocations: 256 / 362.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.1445, allocations: 15.44 kB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1445, allocations: 0 / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of Templates: time 0.002803/0.1473, allocations: 368.6 kB / 362.9 MB, free: 8.27 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.1.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