Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 117.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 208.6 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.556/1.556, allocations: 230.4 MB / 250 MB, free: 9.027 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 79.81 kB / 367.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3848, allocations: 53.31 MB / 420.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002833/0.3877, allocations: 1.448 MB / 422.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002941/0.388, allocations: 95.73 kB / 422.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.388, allocations: 4 kB / 422.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.388, allocations: 3.938 kB / 422.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.3881, allocations: 3.938 kB / 422.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3883, allocations: 19.97 kB / 422.2 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.3884, allocations: 23.92 kB / 422.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3885, allocations: 8 kB / 422.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.813e-05/0.3885, allocations: 7.938 kB / 422.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.49e-05/0.3886, allocations: 23.91 kB / 422.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3886, allocations: 0 / 422.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.3886, allocations: 4 kB / 422.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.3886, allocations: 4 kB / 422.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.3886, allocations: 19.86 kB / 422.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.128e-05/0.3887, allocations: 19.86 kB / 422.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3887, allocations: 3.984 kB / 422.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3887, allocations: 4 kB / 422.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3887, allocations: 0 / 422.3 MB, free: 6.633 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004262/0.3892, allocations: 335.4 kB / 422.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3892, allocations: 12.03 kB / 422.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.3892, allocations: 0.9375 kB / 422.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3894, allocations: 188.2 kB / 422.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3895, allocations: 384 / 422.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3895, allocations: 4.375 kB / 422.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3897, allocations: 103.9 kB / 423 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3898, allocations: 192 / 423 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3898, allocations: 7.938 kB / 423 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3898, allocations: 0 / 423 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.3898, allocations: 19.92 kB / 423 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.39, allocations: 153.7 kB / 423.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3901, allocations: 46.56 kB / 423.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.3902, allocations: 20.92 kB / 423.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3902, allocations: 0 / 423.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3902, allocations: 34.56 kB / 423.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3902, allocations: 0 / 423.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001992/0.3904, allocations: 73.5 kB / 423.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3905, allocations: 55.34 kB / 423.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.3906, allocations: 105.9 kB / 423.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3906, allocations: 29.69 kB / 423.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.3906, allocations: 84.14 kB / 423.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.3906, allocations: 0 / 423.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.3907, allocations: 13.72 kB / 423.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3908, allocations: 318.8 kB / 423.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.3908, allocations: 7.922 kB / 423.9 MB, free: 4.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.3908, allocations: 31.62 kB / 423.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.3909, allocations: 31.38 kB / 424 MB, free: 4.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3909, allocations: 0 / 424 MB, free: 4.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.565e-05/0.391, allocations: 61.69 kB / 424 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.391, allocations: 10.34 kB / 424.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.391, allocations: 8.031 kB / 424.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.391, allocations: 3.984 kB / 424.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.3911, allocations: 4 kB / 424.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3911, allocations: 0 / 424.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.87e-05/0.3911, allocations: 256 / 424.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3911, allocations: 4 kB / 424.1 MB, free: 4.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.217e-05/0.3912, allocations: 117.8 kB / 424.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3913, allocations: 61.58 kB / 424.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3913, allocations: 15.44 kB / 424.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3913, allocations: 0 / 424.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3913, allocations: 0 / 424.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3913, allocations: 0 / 424.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3914, allocations: 149.7 kB / 424.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3914, allocations: 0 / 424.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.3914, allocations: 3.984 kB / 424.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3914, allocations: 4 kB / 424.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3915, allocations: 7.938 kB / 424.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.3915, allocations: 0 / 424.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3915, allocations: 4 kB / 424.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3916, allocations: 73.12 kB / 424.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3916, allocations: 85.06 kB / 424.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3916, allocations: 11.86 kB / 424.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.3917, allocations: 0 / 424.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-06/0.3917, allocations: 0 / 424.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.3917, allocations: 4 kB / 424.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.3917, allocations: 87.28 kB / 424.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3917, allocations: 0 / 424.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001795/0.3919, allocations: 0 / 424.7 MB, free: 3.926 MB / 334.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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001105/0.392, allocations: 99.25 kB / 424.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3921, allocations: 27.86 kB / 424.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3921, allocations: 3.938 kB / 424.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3921, allocations: 0 / 424.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3923, allocations: 27.19 kB / 424.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.3926, allocations: 113.6 kB / 424.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3929, allocations: 0.6807 MB / 425.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.256e-05/0.3929, allocations: 0 / 425.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.3929, allocations: 7.438 kB / 425.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3929, allocations: 0 / 425.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of Templates: time 0.002509/0.3954, allocations: 314 kB / 425.9 MB, free: 2.609 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches