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.001381/0.001381, allocations: 104.2 kB / 17.06 MB, free: 5.742 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.001572/0.001572, allocations: 196 kB / 18 MB, free: 4.91 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.538/1.538, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 47.94 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3815, allocations: 49.43 MB / 400.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003555/0.3851, allocations: 1.477 MB / 402.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008825/0.386, allocations: 454.8 kB / 402.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.3861, allocations: 4 kB / 402.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.3862, allocations: 11.92 kB / 402.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.3864, allocations: 15.88 kB / 402.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.3866, allocations: 31.94 kB / 402.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3868, allocations: 55.8 kB / 402.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.387, allocations: 7.984 kB / 402.8 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.3871, allocations: 27.86 kB / 402.8 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.3871, allocations: 23.91 kB / 402.8 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.3872, allocations: 4 kB / 402.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.3872, allocations: 7.938 kB / 402.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.3872, allocations: 8 kB / 402.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.3873, allocations: 27.86 kB / 402.9 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.3874, allocations: 51.8 kB / 402.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3874, allocations: 0 / 402.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3874, allocations: 0 / 402.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3874, allocations: 0 / 402.9 MB, free: 6.832 MB / 318.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.0007212/0.3882, allocations: 376.6 kB / 403.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3882, allocations: 11.89 kB / 403.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.3883, allocations: 8.844 kB / 403.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.3887, allocations: 184.2 kB / 403.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3887, allocations: 384 / 403.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3887, allocations: 8.375 kB / 403.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.3892, allocations: 147.4 kB / 403.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3892, allocations: 0 / 403.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3892, allocations: 0 / 403.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3892, allocations: 0 / 403.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3893, allocations: 31.97 kB / 403.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.3896, allocations: 169.6 kB / 403.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3898, allocations: 135.7 kB / 404 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.3899, allocations: 24.86 kB / 404 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.39, allocations: 11.97 kB / 404 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.39, allocations: 38.5 kB / 404 MB, free: 5.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.39, allocations: 0 / 404 MB, free: 5.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003835/0.3904, allocations: 85.61 kB / 404.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.3905, allocations: 55.41 kB / 404.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3906, allocations: 117.8 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3907, allocations: 25.7 kB / 404.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.3907, allocations: 84.08 kB / 404.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3908, allocations: 8 kB / 404.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3908, allocations: 25.64 kB / 404.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.391, allocations: 310.8 kB / 404.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.391, allocations: 12 kB / 404.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.3911, allocations: 49.44 kB / 404.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.3912, allocations: 57.03 kB / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3912, allocations: 0 / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.3913, allocations: 77.56 kB / 404.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3913, allocations: 7.938 kB / 404.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3913, allocations: 0 / 404.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.3913, allocations: 8.172 kB / 404.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.3914, allocations: 12 kB / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3914, allocations: 0 / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.3915, allocations: 8.156 kB / 405 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3915, allocations: 0 / 405 MB, free: 4.508 MB / 318.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 9.49e-05/0.3916, allocations: 121.8 kB / 405.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3917, allocations: 73.61 kB / 405.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.3918, allocations: 8.375 kB / 405.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.3918, allocations: 4 kB / 405.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3918, allocations: 4 kB / 405.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3918, allocations: 0 / 405.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.392, allocations: 165.6 kB / 405.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.392, allocations: 0 / 405.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.392, allocations: 8 kB / 405.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.392, allocations: 3.938 kB / 405.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.392, allocations: 0 / 405.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.392, allocations: 0 / 405.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3921, allocations: 3.984 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3922, allocations: 109 kB / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3923, allocations: 81.05 kB / 405.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3923, allocations: 0 / 405.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.3924, allocations: 19.97 kB / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.3924, allocations: 0 / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3925, allocations: 0 / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.3925, allocations: 87.28 kB / 405.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3925, allocations: 7.938 kB / 405.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.3927, allocations: 12 kB / 405.7 MB, free: 3.711 MB / 318.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.000125/0.3929, allocations: 103.2 kB / 405.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.393, allocations: 39.92 kB / 405.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3931, allocations: 0 / 405.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.3931, allocations: 0 / 405.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3935, allocations: 48.52 kB / 405.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.3938, allocations: 145.6 kB / 406 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3942, allocations: 0.6844 MB / 406.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.692e-05/0.3942, allocations: 4 kB / 406.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.3943, allocations: 15.42 kB / 406.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3943, allocations: 0 / 406.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of Templates: time 0.00312/0.3974, allocations: 0.6358 MB / 407.3 MB, free: 1.988 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/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