Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 185.1 kB / 16.44 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 222.6 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 85.23 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.108/0.108, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005358/0.0005358, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08753, allocations: 50.37 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/0.5044, allocations: 77.32 MB / 0.5075 GB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5047, allocations: 75.19 kB / 0.5076 GB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002322/0.507, allocations: 0.7514 MB / 0.5083 GB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5071, allocations: 0 / 0.5083 GB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.5071, allocations: 0 / 0.5083 GB, free: 12.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003095/0.5074, allocations: 333.7 kB / 0.5086 GB, free: 12.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5075, allocations: 7.688 kB / 0.5086 GB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.5075, allocations: 7.75 kB / 0.5086 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.5077, allocations: 167.2 kB / 0.5088 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.5078, allocations: 7.844 kB / 0.5088 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5078, allocations: 3.953 kB / 0.5088 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.5082, allocations: 117.5 kB / 0.5089 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5082, allocations: 5.906 kB / 0.5089 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5083, allocations: 0 / 0.5089 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5083, allocations: 0 / 0.5089 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.5085, allocations: 21.19 kB / 0.5089 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.5086, allocations: 155.7 kB / 0.5091 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.5088, allocations: 62.5 kB / 0.5091 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.5088, allocations: 0 / 0.5091 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5089, allocations: 34.52 kB / 0.5092 GB, free: 11.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.5089, allocations: 0 / 0.5092 GB, free: 11.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003482/0.5092, allocations: 76.84 kB / 0.5092 GB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5093, allocations: 54.84 kB / 0.5093 GB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.5094, allocations: 103.4 kB / 0.5094 GB, free: 11.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.5094, allocations: 29.7 kB / 0.5094 GB, free: 11.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.5094, allocations: 150.6 kB / 0.5096 GB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.5094, allocations: 6.203 kB / 0.5096 GB, free: 11.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.5095, allocations: 0 / 0.5096 GB, free: 11.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.5095, allocations: 321.7 kB / 0.5099 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.5096, allocations: 3.141 kB / 0.5099 GB, free: 10.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.5096, allocations: 34.62 kB / 0.5099 GB, free: 10.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.5096, allocations: 11.59 kB / 0.5099 GB, free: 10.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5096, allocations: 0 / 0.5099 GB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.691e-05/0.5098, allocations: 58.53 kB / 0.51 GB, free: 10.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5098, allocations: 6.859 kB / 0.51 GB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5098, allocations: 7.766 kB / 0.51 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5098, allocations: 0 / 0.51 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.5099, allocations: 8.031 kB / 0.51 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5099, allocations: 3.938 kB / 0.51 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.5099, allocations: 3.781 kB / 0.51 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.51, allocations: 0 / 0.51 GB, free: 10.89 MB / 330.7 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.51, allocations: 121.1 kB / 0.5101 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.5102, allocations: 61.09 kB / 0.5102 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.5103, allocations: 7.375 kB / 0.5102 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.5103, allocations: 7.891 kB / 0.5102 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5103, allocations: 0 / 0.5102 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5103, allocations: 4 kB / 0.5102 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.5104, allocations: 155.1 kB / 0.5104 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5105, allocations: 0 / 0.5104 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.5105, allocations: 9.375 kB / 0.5104 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5105, allocations: 0 / 0.5104 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.5106, allocations: 3.938 kB / 0.5104 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5106, allocations: 0 / 0.5104 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5106, allocations: 7.797 kB / 0.5104 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.5108, allocations: 87.78 kB / 0.5105 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.5108, allocations: 80.95 kB / 0.5105 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.5109, allocations: 3.438 kB / 0.5105 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.5109, allocations: 6.688 kB / 0.5105 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-06/0.5109, allocations: 0 / 0.5105 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.511, allocations: 3.953 kB / 0.5106 GB, free: 10.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.511, allocations: 83.62 kB / 0.5106 GB, free: 10.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.511, allocations: 0 / 0.5106 GB, free: 10.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000242/0.5113, allocations: 3.812 kB / 0.5106 GB, free: 10.28 MB / 330.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: 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 (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 9.362e-05/0.5114, allocations: 101.7 kB / 0.5107 GB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.5115, allocations: 27.91 kB / 0.5108 GB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5116, allocations: 0 / 0.5108 GB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.5116, allocations: 3.938 kB / 0.5108 GB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.5118, allocations: 30.03 kB / 0.5108 GB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.5122, allocations: 151.1 kB / 0.5109 GB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.5123, allocations: 0.6866 MB / 0.5116 GB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.5123, allocations: 11.28 kB / 0.5116 GB, free: 9.312 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5124, allocations: 0 / 0.5116 GB, free: 9.312 MB / 330.7 MB Notification: Performance of Templates: time 0.002165/0.5145, allocations: 0.5848 MB / 0.5122 GB, free: 9.223 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches