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.000961/0.0009613, allocations: 178.6 kB / 17.04 MB, free: 5.109 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.236/1.236, allocations: 223.3 MB / 241 MB, free: 10.09 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.0008002/0.0008002, allocations: 94.75 kB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002845, allocations: 11.94 kB / 351.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2004, allocations: 50.4 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001344/0.2018, allocations: 1.186 MB / 403.4 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.2025, allocations: 431.4 kB / 403.8 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.2026, allocations: 7.938 kB / 403.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.2026, allocations: 3.984 kB / 403.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.2027, allocations: 7.922 kB / 403.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.2029, allocations: 27.98 kB / 403.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.203, allocations: 55.77 kB / 403.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.2031, allocations: 9.75 kB / 403.9 MB, free: 30.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.2032, allocations: 15.92 kB / 403.9 MB, free: 30.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.2033, allocations: 19.92 kB / 404 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2033, allocations: 0 / 404 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.2033, allocations: 4.781 kB / 404 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2033, allocations: 11.92 kB / 404 MB, free: 30.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.2034, allocations: 36.62 kB / 404 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.297e-05/0.2034, allocations: 27.89 kB / 404 MB, free: 30.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2034, allocations: 0 / 404 MB, free: 30.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2034, allocations: 0 / 404 MB, free: 30.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2035, allocations: 3.938 kB / 404 MB, free: 30.71 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.0004442/0.2039, allocations: 371.2 kB / 404.4 MB, free: 30.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2039, allocations: 12.03 kB / 404.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.204, allocations: 7.859 kB / 404.4 MB, free: 30.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.2042, allocations: 182.9 kB / 404.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2042, allocations: 3.562 kB / 404.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2042, allocations: 8 kB / 404.6 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.2045, allocations: 139.2 kB / 404.7 MB, free: 29.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2046, allocations: 4 kB / 404.7 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2046, allocations: 0 / 404.7 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2046, allocations: 0 / 404.7 MB, free: 29.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.2047, allocations: 35.94 kB / 404.8 MB, free: 29.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.2048, allocations: 169.5 kB / 404.9 MB, free: 29.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.205, allocations: 131.7 kB / 405.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.2051, allocations: 36.84 kB / 405.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2051, allocations: 4 kB / 405.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.2051, allocations: 34.56 kB / 405.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2051, allocations: 0 / 405.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002313/0.2053, allocations: 89.66 kB / 405.2 MB, free: 29.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2054, allocations: 55.34 kB / 405.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.2055, allocations: 121.8 kB / 405.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.2055, allocations: 25.7 kB / 405.4 MB, free: 29.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.2055, allocations: 84.12 kB / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.2055, allocations: 7.906 kB / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.2055, allocations: 0 / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.2056, allocations: 322.8 kB / 405.8 MB, free: 28.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.2056, allocations: 7.938 kB / 405.8 MB, free: 28.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.2056, allocations: 45.47 kB / 405.9 MB, free: 28.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/0.2056, allocations: 11.98 kB / 405.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2057, allocations: 7.938 kB / 405.9 MB, free: 28.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.99e-05/0.2057, allocations: 73.56 kB / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2058, allocations: 4 kB / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2058, allocations: 4 kB / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2058, allocations: 0 / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.2058, allocations: 11.94 kB / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2059, allocations: 160 / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.2059, allocations: 8 kB / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2059, allocations: 7.953 kB / 406 MB, free: 28.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.206, allocations: 118 kB / 406.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2061, allocations: 73.52 kB / 406.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2061, allocations: 8.375 kB / 406.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2061, allocations: 0 / 406.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2061, allocations: 7.984 kB / 406.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2061, allocations: 320 / 406.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.731e-05/0.2062, allocations: 173.5 kB / 406.4 MB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2062, allocations: 4 kB / 406.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.2063, allocations: 8 kB / 406.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2063, allocations: 4 kB / 406.4 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2063, allocations: 0 / 406.4 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2063, allocations: 7.969 kB / 406.4 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2063, allocations: 0 / 406.4 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.2064, allocations: 100.9 kB / 406.5 MB, free: 27.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.2065, allocations: 81.09 kB / 406.6 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2065, allocations: 8 kB / 406.6 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.2066, allocations: 15.98 kB / 406.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-06/0.2066, allocations: 0 / 406.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2066, allocations: 4 kB / 406.6 MB, free: 27.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.44e-05/0.2066, allocations: 83.28 kB / 406.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2066, allocations: 0 / 406.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.2068, allocations: 11.98 kB / 406.7 MB, free: 27.67 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 (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 8.039e-05/0.2069, allocations: 99.19 kB / 406.8 MB, free: 27.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.207, allocations: 47.92 kB / 406.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.207, allocations: 0 / 406.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2071, allocations: 4 kB / 406.9 MB, free: 27.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2074, allocations: 46.41 kB / 406.9 MB, free: 27.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.2076, allocations: 170.7 kB / 407.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.56e-05/0.2077, allocations: 0.6917 MB / 407.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.2078, allocations: 11.44 kB / 407.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2078, allocations: 0 / 407.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of Templates: time 0.001668/0.2094, allocations: 0.7527 MB / 408.5 MB, free: 25.79 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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