Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.0009376/0.0009377, allocations: 173 kB / 16.8 MB, free: 5.023 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.667/1.667, allocations: 205.4 MB / 223 MB, free: 8.941 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.0008351/0.0008348, allocations: 86.41 kB / 271.3 MB, free: 8.238 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.08587/0.08587, allocations: 12.59 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 16 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.08882, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.3969, allocations: 78.24 MB / 0.5096 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.3971, allocations: 64.64 kB / 0.5097 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002661/0.3998, allocations: 1.153 MB / 0.5108 GB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3998, allocations: 0 / 0.5108 GB, free: 12.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.3998, allocations: 3.938 kB / 0.5108 GB, free: 12.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002656/0.4001, allocations: 354 kB / 0.5111 GB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.4001, allocations: 11.56 kB / 0.5111 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.4001, allocations: 0.9375 kB / 0.5111 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.4003, allocations: 183.7 kB / 0.5113 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4003, allocations: 8.062 kB / 0.5113 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4003, allocations: 384 / 0.5113 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.4006, allocations: 130 kB / 0.5115 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4006, allocations: 4.188 kB / 0.5115 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4006, allocations: 3.938 kB / 0.5115 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4006, allocations: 6.719 kB / 0.5115 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.4007, allocations: 30.72 kB / 0.5115 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.401, allocations: 355.8 kB / 0.5118 GB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.4012, allocations: 166.7 kB / 0.512 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.4013, allocations: 41.59 kB / 0.512 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4013, allocations: 3.75 kB / 0.512 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4013, allocations: 34.38 kB / 0.5121 GB, free: 11.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.4013, allocations: 3.469 kB / 0.5121 GB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002464/0.4016, allocations: 101.7 kB / 0.5122 GB, free: 11.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.4016, allocations: 106.7 kB / 0.5123 GB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.4017, allocations: 115.1 kB / 0.5124 GB, free: 11.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.4017, allocations: 25.7 kB / 0.5124 GB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.4017, allocations: 87.62 kB / 0.5125 GB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.4017, allocations: 11.03 kB / 0.5125 GB, free: 11.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4017, allocations: 0 / 0.5125 GB, free: 11.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.4018, allocations: 318.4 kB / 0.5128 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.4018, allocations: 15.23 kB / 0.5128 GB, free: 10.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.4019, allocations: 46.59 kB / 0.5129 GB, free: 10.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.402, allocations: 70.88 kB / 0.5129 GB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.402, allocations: 0 / 0.5129 GB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.4021, allocations: 98.42 kB / 0.513 GB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.4022, allocations: 3.844 kB / 0.513 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4022, allocations: 0 / 0.513 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4022, allocations: 7.922 kB / 0.513 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.4022, allocations: 11.69 kB / 0.513 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4023, allocations: 6.406 kB / 0.5131 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.4023, allocations: 7.406 kB / 0.5131 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.4023, allocations: 3.984 kB / 0.5131 GB, free: 10.7 MB / 330.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 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * 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 5.715e-05/0.4024, allocations: 120 kB / 0.5132 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.4025, allocations: 63.84 kB / 0.5132 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.4025, allocations: 6.969 kB / 0.5132 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4025, allocations: 3.844 kB / 0.5133 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4025, allocations: 0 / 0.5133 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4025, allocations: 0 / 0.5133 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.4027, allocations: 168.6 kB / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4027, allocations: 288 / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.4028, allocations: 15.45 kB / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4028, allocations: 0 / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.4028, allocations: 0 / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4028, allocations: 12.08 kB / 0.5134 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4028, allocations: 0.875 kB / 0.5134 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.403, allocations: 263.6 kB / 0.5137 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.403, allocations: 84.95 kB / 0.5138 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.403, allocations: 11.92 kB / 0.5138 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.4031, allocations: 10.53 kB / 0.5138 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.4031, allocations: 0 / 0.5138 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4032, allocations: 3.969 kB / 0.5138 GB, free: 9.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.595e-05/0.4032, allocations: 94.17 kB / 0.5139 GB, free: 9.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4032, allocations: 0 / 0.5139 GB, free: 9.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000247/0.4034, allocations: 7.719 kB / 0.5139 GB, free: 9.883 MB / 330.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 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * 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 6.272e-05/0.4035, allocations: 94.28 kB / 0.514 GB, free: 9.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.4037, allocations: 53.88 kB / 0.514 GB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4037, allocations: 0 / 0.514 GB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.4037, allocations: 11.75 kB / 0.514 GB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.404, allocations: 30.64 kB / 0.5141 GB, free: 9.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.4043, allocations: 180.4 kB / 0.5142 GB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.4044, allocations: 0.6884 MB / 0.5149 GB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.4044, allocations: 3.984 kB / 0.5149 GB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.4045, allocations: 15.25 kB / 0.5149 GB, free: 8.883 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4045, allocations: 0 / 0.5149 GB, free: 8.883 MB / 330.7 MB Notification: Performance of Templates: time 0.001948/0.4064, allocations: 432.5 kB / 0.5154 GB, free: 8.684 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)