Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008234/0.0008234, allocations: 98.03 kB / 18.01 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 198.6 kB / 18.94 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 8 kB / 308.4 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09504, allocations: 51.51 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00188/0.09696, allocations: 1.142 MB / 361 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.09719, allocations: 31.91 kB / 361.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.09727, allocations: 3.938 kB / 361.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.09729, allocations: 0 / 361.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.636e-05/0.09734, allocations: 3.938 kB / 361.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.09761, allocations: 31.47 kB / 361.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.0977, allocations: 31.86 kB / 361.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.0978, allocations: 11.98 kB / 361.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.09785, allocations: 7.984 kB / 361.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.0979, allocations: 11.94 kB / 361.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.09792, allocations: 0 / 361.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.09794, allocations: 0 / 361.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.09797, allocations: 11.91 kB / 361.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.09803, allocations: 37.64 kB / 361.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.915e-05/0.0981, allocations: 11.97 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.09812, allocations: 8 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09812, allocations: 0 / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.09814, allocations: 4 kB / 361.2 MB, free: 11.72 MB / 302.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.000454/0.09859, allocations: 331.7 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.09864, allocations: 8.031 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.09869, allocations: 4.938 kB / 361.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.09889, allocations: 180.2 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.09893, allocations: 4.375 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.09894, allocations: 4.375 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.09931, allocations: 119.8 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.09933, allocations: 192 / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.09935, allocations: 7.938 kB / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.09936, allocations: 0 / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.09947, allocations: 23.97 kB / 361.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.09973, allocations: 153.7 kB / 362.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.09989, allocations: 58.53 kB / 362.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.09998, allocations: 24.83 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.09999, allocations: 7.984 kB / 362.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1, allocations: 34.56 kB / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1, allocations: 0 / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000278/0.1003, allocations: 81.45 kB / 362.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1004, allocations: 55.41 kB / 362.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.1005, allocations: 105.8 kB / 362.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1005, allocations: 25.7 kB / 362.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1006, allocations: 88.14 kB / 362.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.1006, allocations: 0 / 362.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.1006, allocations: 13.7 kB / 362.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1007, allocations: 318.8 kB / 362.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.1008, allocations: 4 kB / 362.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.1008, allocations: 35.42 kB / 362.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.1008, allocations: 35.38 kB / 362.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1009, allocations: 3.938 kB / 362.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.266e-05/0.101, allocations: 61.66 kB / 363 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.101, allocations: 4 kB / 363 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.101, allocations: 3.938 kB / 363 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.101, allocations: 4 kB / 363 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.1011, allocations: 7.938 kB / 363 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1011, allocations: 3.984 kB / 363 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.1011, allocations: 7.906 kB / 363 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1011, allocations: 4 kB / 363 MB, free: 9.676 MB / 302.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.433e-05/0.1012, allocations: 117.9 kB / 363.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1014, allocations: 61.86 kB / 363.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.1014, allocations: 11.48 kB / 363.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1014, allocations: 7.922 kB / 363.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1014, allocations: 0 / 363.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1014, allocations: 4 kB / 363.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1015, allocations: 153.6 kB / 363.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1016, allocations: 4 kB / 363.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.1016, allocations: 4 kB / 363.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1016, allocations: 0 / 363.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1016, allocations: 7.938 kB / 363.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1016, allocations: 8.359 kB / 363.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1016, allocations: 0 / 363.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1018, allocations: 85.11 kB / 363.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.1019, allocations: 84.95 kB / 363.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1019, allocations: 7.938 kB / 363.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.1019, allocations: 4 kB / 363.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-06/0.1019, allocations: 0 / 363.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1019, allocations: 0 / 363.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.102, allocations: 91.27 kB / 363.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.102, allocations: 3.938 kB / 363.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1022, allocations: 4 kB / 363.7 MB, free: 8.918 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 9.844e-05/0.1023, allocations: 95.25 kB / 363.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1024, allocations: 27.98 kB / 363.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1024, allocations: 0 / 363.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.1025, allocations: 256 / 363.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1027, allocations: 42.53 kB / 363.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.1031, allocations: 142.4 kB / 364 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1035, allocations: 0.6809 MB / 364.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1035, allocations: 15.38 kB / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1035, allocations: 0 / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Templates: time 0.001846/0.1054, allocations: 0.5861 MB / 365.3 MB, free: 7.266 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches