Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001029/0.001029, allocations: 172.4 kB / 16.8 MB, free: 5.027 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.556/1.556, allocations: 205.4 MB / 223 MB, free: 9.023 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.0007973/0.0007974, allocations: 96.89 kB / 271.3 MB, free: 8.246 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.0862/0.0862, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006406, allocations: 12 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1309, allocations: 50.36 MB / 443.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.5187, allocations: 77.36 MB / 0.5087 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.519, allocations: 75.8 kB / 0.5088 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001728/0.5207, allocations: 0.7405 MB / 0.5095 GB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5207, allocations: 0 / 0.5095 GB, free: 13.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.5207, allocations: 3.938 kB / 0.5095 GB, free: 13.12 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.0002725/0.521, allocations: 332 kB / 0.5099 GB, free: 12.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5211, allocations: 11.09 kB / 0.5099 GB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.5211, allocations: 8.656 kB / 0.5099 GB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.5213, allocations: 172.9 kB / 0.51 GB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.5213, allocations: 384 / 0.51 GB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5213, allocations: 7.5 kB / 0.51 GB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.5216, allocations: 117.1 kB / 0.5102 GB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5216, allocations: 4.188 kB / 0.5102 GB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5217, allocations: 7.812 kB / 0.5102 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5217, allocations: 3.984 kB / 0.5102 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.5218, allocations: 19.58 kB / 0.5102 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.5219, allocations: 157.1 kB / 0.5103 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.522, allocations: 53.33 kB / 0.5104 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.5221, allocations: 28.17 kB / 0.5104 GB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.5221, allocations: 4 kB / 0.5104 GB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.5222, allocations: 30.56 kB / 0.5105 GB, free: 12.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5222, allocations: 0 / 0.5105 GB, free: 12.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002443/0.5224, allocations: 81.78 kB / 0.5105 GB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.5225, allocations: 59 kB / 0.5106 GB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.5225, allocations: 105.9 kB / 0.5107 GB, free: 12.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.5225, allocations: 25.7 kB / 0.5107 GB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.5226, allocations: 89.61 kB / 0.5108 GB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.5226, allocations: 3.938 kB / 0.5108 GB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-06/0.5226, allocations: 0 / 0.5108 GB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.5227, allocations: 316.4 kB / 0.5111 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.5227, allocations: 3.875 kB / 0.5111 GB, free: 11.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.5227, allocations: 29.59 kB / 0.5111 GB, free: 11.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.5228, allocations: 38.59 kB / 0.5112 GB, free: 11.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5228, allocations: 0 / 0.5112 GB, free: 11.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.918e-05/0.5228, allocations: 60.53 kB / 0.5112 GB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5229, allocations: 3.844 kB / 0.5112 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5229, allocations: 7.781 kB / 0.5112 GB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5229, allocations: 128 / 0.5112 GB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.5229, allocations: 11.78 kB / 0.5113 GB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.523, allocations: 0 / 0.5113 GB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.523, allocations: 3.844 kB / 0.5113 GB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.523, allocations: 3.984 kB / 0.5113 GB, free: 11.48 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 5.697e-05/0.5231, allocations: 123.6 kB / 0.5114 GB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5232, allocations: 67.2 kB / 0.5114 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.5232, allocations: 14.75 kB / 0.5115 GB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5232, allocations: 0 / 0.5115 GB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5232, allocations: 7.938 kB / 0.5115 GB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5232, allocations: 0 / 0.5115 GB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.029e-05/0.5233, allocations: 156.6 kB / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5233, allocations: 0 / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.5233, allocations: 3.875 kB / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5234, allocations: 0 / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.5234, allocations: 4.812 kB / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5234, allocations: 0 / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5234, allocations: 6.984 kB / 0.5116 GB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.5235, allocations: 83.22 kB / 0.5117 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.5236, allocations: 92.14 kB / 0.5118 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.5236, allocations: 3.938 kB / 0.5118 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.5236, allocations: 8.156 kB / 0.5118 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.5236, allocations: 0 / 0.5118 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.5236, allocations: 0 / 0.5118 GB, free: 10.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.5237, allocations: 82.84 kB / 0.5119 GB, free: 10.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.5237, allocations: 0 / 0.5119 GB, free: 10.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.5238, allocations: 11 kB / 0.5119 GB, free: 10.86 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 8.314e-05/0.5239, allocations: 98.94 kB / 0.512 GB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.5241, allocations: 25.59 kB / 0.512 GB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5241, allocations: 0 / 0.512 GB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.5241, allocations: 0 / 0.512 GB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5243, allocations: 33.81 kB / 0.512 GB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.5246, allocations: 114.4 kB / 0.5122 GB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.5248, allocations: 0.686 MB / 0.5128 GB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.716e-05/0.5248, allocations: 0 / 0.5128 GB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.5248, allocations: 13.91 kB / 0.5128 GB, free: 9.941 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5248, allocations: 0 / 0.5128 GB, free: 9.941 MB / 330.7 MB Notification: Performance of Templates: time 0.002046/0.5269, allocations: 330.5 kB / 0.5132 GB, free: 9.797 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches