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.001424/0.001424, allocations: 176.5 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009102, allocations: 102 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.549e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08564, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.3846, allocations: 76.08 MB / 463.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.3849, allocations: 75.95 kB / 463.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003856/0.3888, allocations: 1.312 MB / 464.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3888, allocations: 0 / 464.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3888, allocations: 0 / 464.9 MB, free: 1.395 MB / 330.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.0004583/0.3893, allocations: 348 kB / 465.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3893, allocations: 8.031 kB / 465.3 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.3894, allocations: 15.8 kB / 465.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3896, allocations: 179 kB / 465.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3896, allocations: 0 / 465.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3896, allocations: 4 kB / 465.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.683e-05/0.3897, allocations: 36.67 kB / 465.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.39, allocations: 119.2 kB / 465.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.39, allocations: 0 / 465.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.39, allocations: 4.938 kB / 465.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.39, allocations: 3.953 kB / 465.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.3902, allocations: 138.2 kB / 465.8 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3903, allocations: 127.7 kB / 465.9 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.3904, allocations: 24.98 kB / 465.9 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3904, allocations: 0 / 465.9 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3905, allocations: 41.75 kB / 466 MB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3905, allocations: 0 / 466 MB, free: 204 kB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001833/0.3907, allocations: 57.69 kB / 466 MB, free: 140 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.3908, allocations: 51.41 kB / 466.1 MB, free: 76 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3909, allocations: 100.9 kB / 466.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3909, allocations: 29.69 kB / 466.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.391, allocations: 88.14 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.391, allocations: 3.906 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.391, allocations: 0 / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3912, allocations: 322.8 kB / 466.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.3912, allocations: 8 kB / 466.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.3912, allocations: 41.14 kB / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.3913, allocations: 15.94 kB / 466.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3913, allocations: 4 kB / 466.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.813e-05/0.3914, allocations: 57.62 kB / 466.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3914, allocations: 8 kB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3914, allocations: 0 / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3914, allocations: 4 kB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.3915, allocations: 11.92 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3915, allocations: 8.188 kB / 466.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.3916, allocations: 3.938 kB / 466.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3916, allocations: 4 kB / 466.8 MB, free: 15.33 MB / 346.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 () * 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 8.174e-05/0.3916, allocations: 112.9 kB / 466.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.3917, allocations: 61.53 kB / 466.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.3918, allocations: 8.625 kB / 466.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3918, allocations: 4 kB / 466.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3918, allocations: 0 / 466.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3918, allocations: 0 / 466.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.535e-05/0.3919, allocations: 146.2 kB / 467.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3919, allocations: 0 / 467.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.392, allocations: 7.984 kB / 467.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.392, allocations: 0 / 467.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.392, allocations: 6.375 kB / 467.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.392, allocations: 0 / 467.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.392, allocations: 0 / 467.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.3921, allocations: 85.02 kB / 467.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.3922, allocations: 85 kB / 467.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3922, allocations: 15.98 kB / 467.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.3923, allocations: 11.98 kB / 467.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.3923, allocations: 3.938 kB / 467.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3923, allocations: 0 / 467.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.037e-05/0.3924, allocations: 91.97 kB / 467.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3924, allocations: 0 / 467.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000203/0.3926, allocations: 8 kB / 467.4 MB, free: 14.61 MB / 346.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 () * 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.0001115/0.3927, allocations: 99.25 kB / 467.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.3928, allocations: 31.94 kB / 467.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3928, allocations: 3.938 kB / 467.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.3928, allocations: 0 / 467.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3931, allocations: 28.02 kB / 467.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.3933, allocations: 84.23 kB / 467.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3935, allocations: 0.6924 MB / 468.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.186e-05/0.3936, allocations: 192 / 468.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.3936, allocations: 15.42 kB / 468.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3936, allocations: 0 / 468.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of Templates: time 0.002299/0.3959, allocations: 0.5401 MB / 468.9 MB, free: 13.07 MB / 346.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/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