Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.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.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002395/0.002395, allocations: 181 kB / 13.7 MB, free: 1.625 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.048/2.048, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001095/0.001095, allocations: 82.72 kB / 267.6 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09617/0.09618, allocations: 12.6 MB / 328.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.716e-05, allocations: 4 kB / 386 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 50.36 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4219, allocations: 78.13 MB / 0.5024 GB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4222, allocations: 55.97 kB / 0.5025 GB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004714/0.4269, allocations: 1.156 MB / 0.5036 GB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.427, allocations: 0 / 0.5036 GB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.427, allocations: 0 / 0.5036 GB, free: 14.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004055/0.4274, allocations: 346.3 kB / 0.5039 GB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4275, allocations: 12.03 kB / 0.5039 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.4275, allocations: 3.906 kB / 0.5039 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.4277, allocations: 175.1 kB / 0.5041 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4278, allocations: 3.953 kB / 0.5041 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.4278, allocations: 12 kB / 0.5041 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4281, allocations: 125.8 kB / 0.5042 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4281, allocations: 0 / 0.5042 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4282, allocations: 0 / 0.5042 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4282, allocations: 0 / 0.5042 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.4282, allocations: 23.98 kB / 0.5043 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4288, allocations: 357.7 kB / 0.5046 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.429, allocations: 156.9 kB / 0.5048 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.4291, allocations: 34.64 kB / 0.5048 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4292, allocations: 0 / 0.5048 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.4292, allocations: 34.56 kB / 0.5048 GB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.4292, allocations: 0 / 0.5048 GB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002533/0.4295, allocations: 73.69 kB / 0.5049 GB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.4296, allocations: 110.8 kB / 0.505 GB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.4297, allocations: 97 kB / 0.5051 GB, free: 12.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.4297, allocations: 29.7 kB / 0.5051 GB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.4298, allocations: 154.6 kB / 0.5053 GB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4298, allocations: 11.89 kB / 0.5053 GB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.4298, allocations: 0 / 0.5053 GB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.43, allocations: 318.9 kB / 0.5056 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.43, allocations: 12 kB / 0.5056 GB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.4301, allocations: 36.3 kB / 0.5056 GB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.4302, allocations: 23.86 kB / 0.5056 GB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4302, allocations: 4 kB / 0.5057 GB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.4304, allocations: 73.53 kB / 0.5057 GB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4304, allocations: 8.359 kB / 0.5057 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4304, allocations: 0 / 0.5057 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4304, allocations: 4 kB / 0.5057 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4306, allocations: 11.94 kB / 0.5057 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4306, allocations: 7.938 kB / 0.5058 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.4307, allocations: 12.11 kB / 0.5058 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4307, allocations: 4 kB / 0.5058 GB, free: 12.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.892e-05/0.4308, allocations: 112.7 kB / 0.5059 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.431, allocations: 49.62 kB / 0.5059 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.431, allocations: 12.03 kB / 0.5059 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.431, allocations: 0 / 0.5059 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.431, allocations: 0 / 0.5059 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4311, allocations: 4 kB / 0.5059 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.4314, allocations: 169.6 kB / 0.5061 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4314, allocations: 4 kB / 0.5061 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.4315, allocations: 15.98 kB / 0.5061 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4315, allocations: 0 / 0.5061 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4316, allocations: 4 kB / 0.5061 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4316, allocations: 0 / 0.5061 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4316, allocations: 0 / 0.5061 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.4318, allocations: 274.9 kB / 0.5064 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.4319, allocations: 89 kB / 0.5065 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4319, allocations: 0 / 0.5065 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4321, allocations: 4 kB / 0.5065 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.4321, allocations: 0 / 0.5065 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4322, allocations: 8 kB / 0.5065 GB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.829e-05/0.4322, allocations: 87.27 kB / 0.5066 GB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4323, allocations: 4 kB / 0.5066 GB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.4326, allocations: 12 kB / 0.5066 GB, free: 11.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001298/0.4328, allocations: 91.25 kB / 0.5067 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.4329, allocations: 31.94 kB / 0.5067 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4329, allocations: 288 / 0.5067 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.433, allocations: 15.92 kB / 0.5067 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4333, allocations: 31.77 kB / 0.5067 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.4336, allocations: 128 kB / 0.5069 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.4339, allocations: 0.6965 MB / 0.5075 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.434, allocations: 11.42 kB / 0.5076 GB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.434, allocations: 0 / 0.5076 GB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.002725/0.4367, allocations: 0.7466 MB / 0.5083 GB, free: 9.398 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)