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.001095/0.001095, allocations: 97.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 204.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 8 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 51.48 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001923/0.1516, allocations: 1.133 MB / 359.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002049/0.1518, allocations: 31.91 kB / 359.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.1519, allocations: 0 / 359.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1519, allocations: 3.938 kB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.1519, allocations: 0 / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1522, allocations: 19.97 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.1523, allocations: 16 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1524, allocations: 15.97 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.1525, allocations: 7.938 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.1525, allocations: 11.92 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1525, allocations: 4 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.1526, allocations: 0 / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.1526, allocations: 0 / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1526, allocations: 33.7 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.817e-05/0.1527, allocations: 19.89 kB / 359.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1527, allocations: 0 / 359.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1527, allocations: 0 / 359.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1527, allocations: 4 kB / 359.4 MB, free: 12.6 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.0004801/0.1532, allocations: 342.1 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1533, allocations: 11.97 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1533, allocations: 0 / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1536, allocations: 179 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1536, allocations: 0 / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1536, allocations: 7.984 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.1541, allocations: 119.2 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1541, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1541, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1541, allocations: 0 / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1543, allocations: 27.91 kB / 360 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.1545, allocations: 153.7 kB / 360.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1547, allocations: 50.55 kB / 360.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1547, allocations: 8.031 kB / 360.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1547, allocations: 30.56 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1547, allocations: 0 / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003273/0.1551, allocations: 77.7 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.1552, allocations: 59.41 kB / 360.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1553, allocations: 101.8 kB / 360.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1553, allocations: 25.7 kB / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1554, allocations: 88.14 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1554, allocations: 3.906 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.1554, allocations: 4 kB / 360.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1556, allocations: 318.8 kB / 360.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.1556, allocations: 7.938 kB / 360.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.1557, allocations: 27.44 kB / 361 MB, free: 10.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.1557, allocations: 19.98 kB / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1557, allocations: 0 / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.991e-05/0.1558, allocations: 53.58 kB / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.1558, allocations: 8 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1559, allocations: 0 / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.1559, allocations: 7.938 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.156, allocations: 4 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.156, allocations: 4.125 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.156, allocations: 8 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.156, allocations: 4 kB / 361.1 MB, free: 10.65 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1561, allocations: 109.8 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1563, allocations: 69.58 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.1563, allocations: 3.875 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1563, allocations: 3.953 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1563, allocations: 0 / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1563, allocations: 0 / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1564, allocations: 165.7 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1565, allocations: 0 / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.1565, allocations: 4 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1565, allocations: 0 / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1565, allocations: 4 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1565, allocations: 0 / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1565, allocations: 8.188 kB / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1567, allocations: 89.03 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1568, allocations: 92.94 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1568, allocations: 4 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.617e-05/0.1568, allocations: 0 / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.1568, allocations: 4 kB / 361.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1568, allocations: 0 / 361.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.835e-05/0.1569, allocations: 95.16 kB / 361.7 MB, free: 9.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1569, allocations: 0 / 361.7 MB, free: 9.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.1571, allocations: 4 kB / 361.7 MB, free: 9.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.1572, allocations: 95.25 kB / 361.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1573, allocations: 31.92 kB / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1574, allocations: 0 / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1574, allocations: 0 / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1576, allocations: 31.92 kB / 361.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.1579, allocations: 116.7 kB / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1582, allocations: 0.6851 MB / 362.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.1582, allocations: 3.984 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1583, allocations: 15.38 kB / 362.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1583, allocations: 0 / 362.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of Templates: time 0.002555/0.1608, allocations: 323.9 kB / 363 MB, free: 8.543 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches