Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 109.7 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.102/3.102, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 42.97 kB / 300.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1504, allocations: 49.45 MB / 350.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003472/0.1539, allocations: 1.538 MB / 351.6 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.1548, allocations: 446.9 kB / 352 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.1549, allocations: 0 / 352 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.155, allocations: 7.922 kB / 352 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1552, allocations: 7.875 kB / 352.1 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1554, allocations: 35.97 kB / 352.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.1555, allocations: 55.78 kB / 352.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1556, allocations: 11.98 kB / 352.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.1557, allocations: 19.86 kB / 352.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1557, allocations: 19.92 kB / 352.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1558, allocations: 0 / 352.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.1558, allocations: 4 kB / 352.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.1558, allocations: 7.984 kB / 352.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.1559, allocations: 23.86 kB / 352.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.467e-05/0.156, allocations: 27.95 kB / 352.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.156, allocations: 4 kB / 352.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.156, allocations: 3.984 kB / 352.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.156, allocations: 0 / 352.3 MB, free: 2.645 MB / 286.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.0006477/0.1567, allocations: 379.6 kB / 352.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1567, allocations: 8.031 kB / 352.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1568, allocations: 4.938 kB / 352.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.157, allocations: 192.2 kB / 352.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.157, allocations: 4.312 kB / 352.8 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.157, allocations: 8.312 kB / 352.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.1574, allocations: 147.5 kB / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1574, allocations: 0 / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1574, allocations: 0 / 353 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1575, allocations: 8 kB / 353 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1576, allocations: 23.98 kB / 353 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.1578, allocations: 161.7 kB / 353.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.158, allocations: 139.7 kB / 353.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/0.1581, allocations: 32.84 kB / 353.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1582, allocations: 0 / 353.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.1582, allocations: 50.44 kB / 353.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1582, allocations: 0 / 353.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003309/0.1586, allocations: 81.58 kB / 353.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1587, allocations: 55.41 kB / 353.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1588, allocations: 117.8 kB / 353.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1588, allocations: 29.7 kB / 353.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1589, allocations: 88.06 kB / 353.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1589, allocations: 8 kB / 353.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.159, allocations: 17.72 kB / 353.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1591, allocations: 314.8 kB / 354.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.1591, allocations: 8 kB / 354.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.1592, allocations: 45.16 kB / 354.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.1593, allocations: 53.08 kB / 354.2 MB, free: 444 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1593, allocations: 4 kB / 354.2 MB, free: 440 kB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/0.1594, allocations: 77.47 kB / 354.3 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1594, allocations: 7.938 kB / 354.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1595, allocations: 0 / 354.3 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1595, allocations: 7.984 kB / 354.3 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1596, allocations: 11.94 kB / 354.3 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1596, allocations: 0 / 354.3 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1596, allocations: 16.11 kB / 354.3 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1596, allocations: 4 kB / 354.3 MB, free: 308 kB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.1598, allocations: 113.8 kB / 354.4 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.1599, allocations: 77.41 kB / 354.5 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.16, allocations: 8.375 kB / 354.5 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.16, allocations: 4 kB / 354.5 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.16, allocations: 3.984 kB / 354.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.16, allocations: 0 / 354.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1602, allocations: 162 kB / 354.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1602, allocations: 4 kB / 354.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.1603, allocations: 12 kB / 354.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1603, allocations: 7.922 kB / 354.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1603, allocations: 0 / 354.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1603, allocations: 0 / 354.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1603, allocations: 0 / 354.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1606, allocations: 93.11 kB / 354.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.1606, allocations: 88.95 kB / 354.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1607, allocations: 7.938 kB / 354.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.1608, allocations: 15.98 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-06/0.1608, allocations: 0 / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1608, allocations: 0 / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.491e-05/0.1609, allocations: 91.27 kB / 355 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1609, allocations: 3.938 kB / 355 MB, free: 15.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1611, allocations: 8 kB / 355 MB, free: 15.51 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 (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.0001538/0.1613, allocations: 107.2 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1615, allocations: 39.92 kB / 355.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1615, allocations: 0 / 355.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1615, allocations: 0 / 355.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1619, allocations: 42.75 kB / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.1624, allocations: 180.5 kB / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1628, allocations: 0.6848 MB / 356.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1629, allocations: 11.44 kB / 356.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1629, allocations: 0 / 356.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of Templates: time 0.002811/0.1657, allocations: 0.7627 MB / 356.8 MB, free: 13.62 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches