Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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/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/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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 181 kB / 17.46 MB, free: 4.355 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.842/2.842, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001385/0.001385, allocations: 83.72 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1642/0.1642, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006449, allocations: 23.98 kB / 392.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1666, allocations: 50.29 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.663/0.8297, allocations: 77.73 MB / 0.5085 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/0.8302, allocations: 79.19 kB / 0.5086 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008095/0.8383, allocations: 1.79 MB / 0.5104 GB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.882e-06/0.8384, allocations: 3.844 kB / 0.5104 GB, free: 12.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.8385, allocations: 0 / 0.5104 GB, free: 12.62 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005152/0.839, allocations: 373.4 kB / 0.5107 GB, free: 12.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.8391, allocations: 11.69 kB / 0.5107 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.8392, allocations: 8.719 kB / 0.5107 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.8394, allocations: 202.5 kB / 0.5109 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.8395, allocations: 4.25 kB / 0.5109 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.8395, allocations: 7.594 kB / 0.511 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.84, allocations: 128.3 kB / 0.5111 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.84, allocations: 192 / 0.5111 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.84, allocations: 19.11 kB / 0.5111 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8401, allocations: 0 / 0.5111 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.8401, allocations: 11 kB / 0.5111 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.8404, allocations: 172.3 kB / 0.5113 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.8406, allocations: 67.5 kB / 0.5113 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.8407, allocations: 42.56 kB / 0.5114 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.8407, allocations: 3.875 kB / 0.5114 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.8408, allocations: 30.56 kB / 0.5114 GB, free: 11.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.714e-06/0.8408, allocations: 0 / 0.5114 GB, free: 11.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003211/0.8411, allocations: 87.09 kB / 0.5115 GB, free: 11.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.8412, allocations: 59.36 kB / 0.5115 GB, free: 11.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.8414, allocations: 137.4 kB / 0.5117 GB, free: 11.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.8414, allocations: 29.27 kB / 0.5117 GB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.646e-05/0.8415, allocations: 87.23 kB / 0.5118 GB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.8415, allocations: 3.984 kB / 0.5118 GB, free: 11.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.8415, allocations: 3.812 kB / 0.5118 GB, free: 11.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.8417, allocations: 314.8 kB / 0.5121 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.8417, allocations: 15.05 kB / 0.5121 GB, free: 10.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.8418, allocations: 54.41 kB / 0.5122 GB, free: 10.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.8419, allocations: 78.77 kB / 0.5122 GB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8419, allocations: 0 / 0.5122 GB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001726/0.8421, allocations: 86.59 kB / 0.5123 GB, free: 10.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.8421, allocations: 15.53 kB / 0.5123 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8422, allocations: 256 / 0.5123 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/0.8422, allocations: 11.88 kB / 0.5123 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.8423, allocations: 15.61 kB / 0.5124 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.8424, allocations: 7.797 kB / 0.5124 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.8424, allocations: 7.781 kB / 0.5124 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.8425, allocations: 8.016 kB / 0.5124 GB, free: 10.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001594/0.8426, allocations: 125.2 kB / 0.5125 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8428, allocations: 78.31 kB / 0.5126 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.8428, allocations: 15.83 kB / 0.5126 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8428, allocations: 7.969 kB / 0.5126 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8429, allocations: 0 / 0.5126 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.8429, allocations: 0 / 0.5126 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.843, allocations: 168.5 kB / 0.5128 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.843, allocations: 0 / 0.5128 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.8431, allocations: 15.52 kB / 0.5128 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8431, allocations: 3.938 kB / 0.5128 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8432, allocations: 3.844 kB / 0.5128 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.8432, allocations: 0 / 0.5128 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8432, allocations: 3.938 kB / 0.5128 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.8434, allocations: 101.4 kB / 0.5129 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.8435, allocations: 88.84 kB / 0.513 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.8435, allocations: 11.69 kB / 0.513 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.8435, allocations: 4 kB / 0.513 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.8436, allocations: 0 / 0.513 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.8436, allocations: 0 / 0.513 GB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.8437, allocations: 108.2 kB / 0.5131 GB, free: 10.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8437, allocations: 0 / 0.5131 GB, free: 10.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.844, allocations: 11.22 kB / 0.5131 GB, free: 10.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 0.0001692/0.8442, allocations: 94.72 kB / 0.5132 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.8444, allocations: 49.12 kB / 0.5132 GB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8444, allocations: 0 / 0.5132 GB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.8444, allocations: 0 / 0.5132 GB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.8449, allocations: 44.61 kB / 0.5133 GB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.8454, allocations: 209.6 kB / 0.5135 GB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.8458, allocations: 0.696 MB / 0.5142 GB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.8458, allocations: 15.19 kB / 0.5142 GB, free: 9.082 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.8458, allocations: 0 / 0.5142 GB, free: 9.082 MB / 330.7 MB Notification: Performance of Templates: time 0.003652/0.8495, allocations: 0.7979 MB / 0.5149 GB, free: 8.684 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches