Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 4 kB / 306.6 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 51.51 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001733/0.1581, allocations: 1.184 MB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.1589, allocations: 463.2 kB / 359.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.159, allocations: 0 / 359.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.159, allocations: 3.984 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1592, allocations: 19.92 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1594, allocations: 27.91 kB / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.1595, allocations: 31.95 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1596, allocations: 11.98 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.1597, allocations: 11.94 kB / 359.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1598, allocations: 19.91 kB / 359.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1598, allocations: 11.92 kB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.1598, allocations: 0 / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1598, allocations: 8 kB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.1599, allocations: 29.7 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.071e-05/0.16, allocations: 35.94 kB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.16, allocations: 0 / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.16, allocations: 0 / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.16, allocations: 0 / 359.9 MB, free: 12.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006132/0.1606, allocations: 359.5 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1607, allocations: 8.031 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1607, allocations: 15.84 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1609, allocations: 186.9 kB / 360.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.161, allocations: 0 / 360.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.161, allocations: 8 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.1614, allocations: 155 kB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1614, allocations: 0 / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1614, allocations: 4 kB / 360.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1614, allocations: 0 / 360.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1615, allocations: 31.92 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1617, allocations: 165.7 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1619, allocations: 135.7 kB / 361 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.162, allocations: 4.125 kB / 361 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.162, allocations: 30.56 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.162, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002776/0.1623, allocations: 93.56 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.1624, allocations: 55.41 kB / 361.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1625, allocations: 113.8 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1625, allocations: 29.7 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.1626, allocations: 84.12 kB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1626, allocations: 7.906 kB / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1626, allocations: 0 / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1627, allocations: 318.8 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.1628, allocations: 7.984 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.1628, allocations: 41.47 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.1628, allocations: 19.94 kB / 361.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1628, allocations: 0 / 361.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.163, allocations: 77.66 kB / 361.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.163, allocations: 4 kB / 361.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.163, allocations: 160 / 361.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.163, allocations: 11.94 kB / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.1631, allocations: 11.94 kB / 361.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1631, allocations: 3.984 kB / 361.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.1631, allocations: 12.09 kB / 361.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1631, allocations: 12 kB / 361.9 MB, free: 9.859 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.142e-05/0.1632, allocations: 113.9 kB / 362 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.1634, allocations: 73.67 kB / 362.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.1634, allocations: 8.375 kB / 362.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1634, allocations: 7.891 kB / 362.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1635, allocations: 0 / 362.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1635, allocations: 0 / 362.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.1636, allocations: 165.7 kB / 362.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1636, allocations: 3.984 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.1637, allocations: 4 kB / 362.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1637, allocations: 0 / 362.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1637, allocations: 8 kB / 362.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1637, allocations: 0 / 362.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1637, allocations: 3.953 kB / 362.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1639, allocations: 104.9 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1639, allocations: 77.11 kB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1639, allocations: 8 kB / 362.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.164, allocations: 15.98 kB / 362.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-06/0.164, allocations: 0 / 362.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.164, allocations: 3.984 kB / 362.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.1641, allocations: 91.23 kB / 362.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1641, allocations: 0 / 362.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000191/0.1643, allocations: 8 kB / 362.6 MB, free: 9.074 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001268/0.1644, allocations: 95.25 kB / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1646, allocations: 47.92 kB / 362.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1646, allocations: 0 / 362.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1646, allocations: 0 / 362.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1649, allocations: 40.19 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.1652, allocations: 157 kB / 362.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1655, allocations: 0.6848 MB / 363.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1655, allocations: 7.938 kB / 363.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1656, allocations: 15.42 kB / 363.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1656, allocations: 0 / 363.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of Templates: time 0.00275/0.1683, allocations: 0.5465 MB / 364.2 MB, free: 7.426 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches