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.0008968/0.0008968, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.0009737/0.0009738, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.283/1.283, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002249/0.0002249, allocations: 12.94 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07269/0.07293, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001417/0.07438, allocations: 1.201 MB / 353.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000618/0.07502, allocations: 439.7 kB / 354.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.07509, allocations: 4 kB / 354.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.07511, allocations: 7.922 kB / 354.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.07524, allocations: 7.938 kB / 354.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.0754, allocations: 39.14 kB / 354.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.07549, allocations: 51.78 kB / 354.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.07557, allocations: 16 kB / 354.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.07563, allocations: 23.84 kB / 354.3 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.07568, allocations: 15.92 kB / 354.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.0757, allocations: 4 kB / 354.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.07572, allocations: 0 / 354.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.07574, allocations: 8 kB / 354.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.07579, allocations: 45.56 kB / 354.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.912e-05/0.07585, allocations: 31.92 kB / 354.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.07586, allocations: 0 / 354.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.07587, allocations: 0 / 354.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.07587, allocations: 4 kB / 354.4 MB, free: 1.805 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.0004597/0.07634, allocations: 363.7 kB / 354.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.07638, allocations: 12.03 kB / 354.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.07641, allocations: 4.844 kB / 354.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.07657, allocations: 188.2 kB / 354.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.07659, allocations: 384 / 354.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.07661, allocations: 8.375 kB / 354.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.07695, allocations: 151.5 kB / 355.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.07697, allocations: 0 / 355.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.07698, allocations: 0 / 355.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.07699, allocations: 4 kB / 355.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.07711, allocations: 39.91 kB / 355.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.07723, allocations: 157.7 kB / 355.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.07744, allocations: 143.7 kB / 355.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.07752, allocations: 32.84 kB / 355.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.07755, allocations: 4 kB / 355.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.07757, allocations: 34.5 kB / 355.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.07758, allocations: 0 / 355.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002418/0.07783, allocations: 89.58 kB / 355.6 MB, free: 416 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.07788, allocations: 59.41 kB / 355.6 MB, free: 344 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.07796, allocations: 109.8 kB / 355.7 MB, free: 224 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.07798, allocations: 25.7 kB / 355.8 MB, free: 192 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.07802, allocations: 92.14 kB / 355.9 MB, free: 96 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.898e-06/0.07803, allocations: 0 / 355.9 MB, free: 96 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.07806, allocations: 21.7 kB / 355.9 MB, free: 68 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.07815, allocations: 310.8 kB / 356.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.07818, allocations: 8 kB / 356.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.07822, allocations: 45.14 kB / 356.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.694e-05/0.07828, allocations: 61.09 kB / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.07829, allocations: 0 / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.0784, allocations: 77.47 kB / 356.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.07842, allocations: 15.92 kB / 356.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.07843, allocations: 0 / 356.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.07845, allocations: 0 / 356.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.07849, allocations: 12.19 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.07851, allocations: 4 kB / 356.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.07855, allocations: 7.938 kB / 356.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.07856, allocations: 4 kB / 356.4 MB, free: 15.48 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 6.53e-05/0.07863, allocations: 118 kB / 356.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.07878, allocations: 77.55 kB / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.07882, allocations: 16.31 kB / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.07883, allocations: 0 / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.07883, allocations: 0 / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.07884, allocations: 0 / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.755e-05/0.07893, allocations: 165.5 kB / 356.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.07894, allocations: 0 / 356.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.07899, allocations: 12 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.07901, allocations: 3.938 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.07902, allocations: 0 / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.07903, allocations: 0 / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.07903, allocations: 3.984 kB / 356.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.0792, allocations: 101 kB / 356.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.07925, allocations: 88.95 kB / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.07927, allocations: 7.922 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.07937, allocations: 19.98 kB / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.07938, allocations: 0 / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.07939, allocations: 0 / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.07944, allocations: 91.73 kB / 357.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07944, allocations: 0 / 357.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.07965, allocations: 12 kB / 357.1 MB, free: 14.67 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 7.531e-05/0.07973, allocations: 107.2 kB / 357.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.07986, allocations: 40.05 kB / 357.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.07987, allocations: 0 / 357.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.07988, allocations: 0 / 357.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.08019, allocations: 44.02 kB / 357.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.08048, allocations: 181.9 kB / 357.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.08067, allocations: 0.6887 MB / 358.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.0807, allocations: 7.438 kB / 358.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08071, allocations: 0 / 358.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Templates: time 0.001875/0.08259, allocations: 0.7451 MB / 358.9 MB, free: 12.8 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