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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 107 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 43.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003222/0.3236, allocations: 1.54 MB / 401 MB, free: 31.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.3245, allocations: 444.4 kB / 401.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.3246, allocations: 3.781 kB / 401.4 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.3247, allocations: 7.922 kB / 401.5 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.3248, allocations: 11.92 kB / 401.5 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.325, allocations: 31.91 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.3251, allocations: 51.78 kB / 401.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3252, allocations: 12 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.3253, allocations: 23.86 kB / 401.6 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.3254, allocations: 15.92 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.3254, allocations: 8 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.3254, allocations: 4 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3254, allocations: 19.84 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.3255, allocations: 11.94 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.3256, allocations: 43.88 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3256, allocations: 3.938 kB / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3256, allocations: 0 / 401.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3256, allocations: 0 / 401.7 MB, free: 31.15 MB / 298.7 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.0006092/0.3262, allocations: 380.9 kB / 402.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3263, allocations: 12.03 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.3263, allocations: 4.844 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3265, allocations: 188.2 kB / 402.3 MB, free: 30.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3265, allocations: 384 / 402.3 MB, free: 30.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3265, allocations: 4.375 kB / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.3269, allocations: 147.5 kB / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3269, allocations: 0 / 402.4 MB, free: 30.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3269, allocations: 4 kB / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3269, allocations: 0 / 402.4 MB, free: 30.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.327, allocations: 31.97 kB / 402.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.3272, allocations: 165.7 kB / 402.6 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3274, allocations: 135.7 kB / 402.7 MB, free: 29.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.3275, allocations: 24.86 kB / 402.8 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3275, allocations: 4 kB / 402.8 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3275, allocations: 42.48 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3275, allocations: 0 / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002578/0.3278, allocations: 89.52 kB / 402.9 MB, free: 29.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3278, allocations: 59.66 kB / 403 MB, free: 29.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.3279, allocations: 105.8 kB / 403.1 MB, free: 29.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.328, allocations: 29.7 kB / 403.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.328, allocations: 84.14 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.328, allocations: 4 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.328, allocations: 25.64 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.3281, allocations: 318.8 kB / 403.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.3281, allocations: 8 kB / 403.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.3281, allocations: 49.08 kB / 403.6 MB, free: 29.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.3282, allocations: 53.09 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3282, allocations: 0 / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.572e-05/0.3283, allocations: 81.41 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3283, allocations: 7.938 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3283, allocations: 8.188 kB / 403.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3283, allocations: 0 / 403.7 MB, free: 28.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.3284, allocations: 15.98 kB / 403.7 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3284, allocations: 0 / 403.7 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.3284, allocations: 4 kB / 403.7 MB, free: 28.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3285, allocations: 4 kB / 403.7 MB, free: 28.82 MB / 298.7 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 5.525e-05/0.3285, allocations: 117.8 kB / 403.9 MB, free: 28.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3286, allocations: 77.44 kB / 403.9 MB, free: 28.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.3287, allocations: 16.38 kB / 403.9 MB, free: 28.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3287, allocations: 4 kB / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3287, allocations: 0 / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3287, allocations: 0 / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.114e-05/0.3288, allocations: 161.6 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3288, allocations: 3.984 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.3288, allocations: 8 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3288, allocations: 3.938 kB / 404.1 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3288, allocations: 0 / 404.1 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3288, allocations: 0 / 404.1 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3289, allocations: 0 / 404.1 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3292, allocations: 0.6748 MB / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.3292, allocations: 85.11 kB / 404.9 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3292, allocations: 0 / 404.9 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3293, allocations: 19.98 kB / 404.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.3293, allocations: 0 / 404.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3293, allocations: 4 kB / 404.9 MB, free: 27.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.3293, allocations: 87.27 kB / 405 MB, free: 27.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3293, allocations: 3.938 kB / 405 MB, free: 27.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.3296, allocations: 8 kB / 405 MB, free: 27.41 MB / 298.7 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.0001178/0.3298, allocations: 99.25 kB / 405.1 MB, free: 27.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.3299, allocations: 47.92 kB / 405.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.3299, allocations: 0 / 405.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3299, allocations: 4 kB / 405.1 MB, free: 27.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3304, allocations: 43.95 kB / 405.2 MB, free: 27.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.3309, allocations: 254.4 kB / 405.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3311, allocations: 0.6926 MB / 406.1 MB, free: 26.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.867e-05/0.3311, allocations: 3.938 kB / 406.1 MB, free: 26.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.3312, allocations: 11.44 kB / 406.1 MB, free: 26.19 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3312, allocations: 0 / 406.1 MB, free: 26.19 MB / 298.7 MB Notification: Performance of Templates: time 0.002447/0.3336, allocations: 0.6238 MB / 406.8 MB, free: 25.57 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches