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.001116/0.001116, allocations: 105.2 kB / 17.59 MB, free: 5.414 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.001076/0.001076, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009684/0.0009685, allocations: 47.27 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08783, allocations: 49.45 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002567/0.09044, allocations: 1.468 MB / 352.2 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.09113, allocations: 456.4 kB / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.0912, allocations: 7.938 kB / 352.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.09124, allocations: 3.984 kB / 352.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.09138, allocations: 15.88 kB / 352.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.09154, allocations: 27.91 kB / 352.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.09163, allocations: 59.78 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.09173, allocations: 8 kB / 352.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.09179, allocations: 23.92 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.09184, allocations: 27.84 kB / 352.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.09187, allocations: 4 kB / 352.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.09189, allocations: 4 kB / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.09191, allocations: 7.984 kB / 352.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.09195, allocations: 27.86 kB / 352.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.672e-05/0.09204, allocations: 39.88 kB / 352.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.09206, allocations: 4 kB / 352.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.09206, allocations: 3.938 kB / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.09208, allocations: 4 kB / 352.9 MB, free: 2.219 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.0005141/0.09259, allocations: 375.6 kB / 353.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.09263, allocations: 11.89 kB / 353.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.09267, allocations: 8.938 kB / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.09286, allocations: 184.2 kB / 353.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.09288, allocations: 4.375 kB / 353.5 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.0929, allocations: 8.375 kB / 353.5 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.09324, allocations: 143.5 kB / 353.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.09326, allocations: 0 / 353.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.09328, allocations: 4 kB / 353.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.09329, allocations: 0 / 353.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.09339, allocations: 27.98 kB / 353.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.09354, allocations: 165.6 kB / 353.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.09375, allocations: 135.7 kB / 354 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.09383, allocations: 32.84 kB / 354 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.09386, allocations: 8 kB / 354 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.09389, allocations: 38.44 kB / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.0939, allocations: 0 / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002653/0.09417, allocations: 93.58 kB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.09424, allocations: 51.41 kB / 354.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.09434, allocations: 113.8 kB / 354.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.09436, allocations: 25.7 kB / 354.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.0944, allocations: 84.14 kB / 354.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.09442, allocations: 7.984 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.09446, allocations: 25.7 kB / 354.4 MB, free: 484 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.09457, allocations: 314.8 kB / 354.7 MB, free: 160 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.09459, allocations: 11.94 kB / 354.8 MB, free: 148 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.09464, allocations: 41.16 kB / 354.8 MB, free: 88 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.0947, allocations: 61.02 kB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0947, allocations: 0 / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000122/0.09483, allocations: 81.47 kB / 354.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.09485, allocations: 11.94 kB / 354.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.09487, allocations: 0 / 354.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.09488, allocations: 4 kB / 354.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.09494, allocations: 7.938 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.09495, allocations: 4 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.09499, allocations: 7.938 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.095, allocations: 4 kB / 355 MB, free: 15.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.09508, allocations: 122 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.09522, allocations: 73.53 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.09526, allocations: 8.375 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09527, allocations: 0 / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.09528, allocations: 0 / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.09529, allocations: 7.922 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.758e-05/0.09539, allocations: 161.7 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0954, allocations: 0 / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.09545, allocations: 4 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.09546, allocations: 7.938 kB / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.09548, allocations: 7.984 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.09548, allocations: 320 / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.09549, allocations: 0 / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.09565, allocations: 97.11 kB / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.0957, allocations: 88.95 kB / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.09572, allocations: 0 / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.09582, allocations: 19.92 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-06/0.09583, allocations: 4 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.09584, allocations: 0 / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.09589, allocations: 87.27 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0959, allocations: 7.938 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.0961, allocations: 8 kB / 355.7 MB, free: 15.09 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.0001004/0.0962, allocations: 107.2 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.09635, allocations: 39.92 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.09637, allocations: 3.938 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.09637, allocations: 0 / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.09673, allocations: 47.94 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.09706, allocations: 163.5 kB / 356 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.0973, allocations: 0.6846 MB / 356.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.09733, allocations: 11.44 kB / 356.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09734, allocations: 0 / 356.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Templates: time 0.002209/0.09955, allocations: 0.7651 MB / 357.5 MB, free: 13.21 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