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.001487/0.001487, allocations: 177.5 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001107/0.001106, allocations: 92.11 kB / 261.8 MB, free: 13.45 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.1573/0.1573, allocations: 12.59 MB / 322.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.315e-05, allocations: 4 kB / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 50.39 MB / 429.3 MB, free: 24.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5367, allocations: 77.45 MB / 0.4949 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.537, allocations: 56.36 kB / 0.4949 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004196/0.5412, allocations: 1.143 MB / 0.4961 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5412, allocations: 0 / 0.4961 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.5412, allocations: 0 / 0.4961 GB, free: 11.59 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.0003391/0.5416, allocations: 348.2 kB / 0.4964 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5417, allocations: 8.656 kB / 0.4964 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.5417, allocations: 7.656 kB / 0.4964 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.5419, allocations: 175 kB / 0.4966 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.5419, allocations: 8.641 kB / 0.4966 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.542, allocations: 0 / 0.4966 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/0.5421, allocations: 19.12 kB / 0.4966 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.5423, allocations: 117.3 kB / 0.4967 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5423, allocations: 3.938 kB / 0.4967 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5424, allocations: 5.812 kB / 0.4967 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5424, allocations: 1.031 kB / 0.4967 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.5428, allocations: 337.2 kB / 0.497 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.543, allocations: 153.5 kB / 0.4972 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.543, allocations: 29.23 kB / 0.4972 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5431, allocations: 4 kB / 0.4972 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.5431, allocations: 40.59 kB / 0.4973 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5431, allocations: 0 / 0.4973 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002239/0.5433, allocations: 58.5 kB / 0.4973 GB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.5434, allocations: 109.5 kB / 0.4974 GB, free: 10.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.5435, allocations: 108.4 kB / 0.4975 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5435, allocations: 25.7 kB / 0.4975 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.5435, allocations: 85.44 kB / 0.4976 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.5436, allocations: 11 kB / 0.4976 GB, free: 9.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.5436, allocations: 0 / 0.4976 GB, free: 9.996 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.5437, allocations: 316.3 kB / 0.4979 GB, free: 9.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.5437, allocations: 10.97 kB / 0.498 GB, free: 9.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.5437, allocations: 42.28 kB / 0.498 GB, free: 9.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.5438, allocations: 13.81 kB / 0.498 GB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5438, allocations: 0 / 0.498 GB, free: 9.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001362/0.544, allocations: 80.34 kB / 0.4981 GB, free: 9.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.544, allocations: 3.844 kB / 0.4981 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.544, allocations: 4.125 kB / 0.4981 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.544, allocations: 3.812 kB / 0.4981 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5442, allocations: 9.734 kB / 0.4981 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5442, allocations: 3.844 kB / 0.4981 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.5443, allocations: 5.641 kB / 0.4981 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5443, allocations: 0 / 0.4981 GB, free: 9.586 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 () * 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 6.14e-05/0.5443, allocations: 106.9 kB / 0.4982 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5445, allocations: 56.61 kB / 0.4983 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.5445, allocations: 15.28 kB / 0.4983 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5445, allocations: 0 / 0.4983 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5445, allocations: 0 / 0.4983 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5445, allocations: 3.438 kB / 0.4983 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.5448, allocations: 142.6 kB / 0.4984 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5448, allocations: 3.969 kB / 0.4984 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.5449, allocations: 9.734 kB / 0.4984 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5449, allocations: 0 / 0.4984 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5449, allocations: 3.953 kB / 0.4984 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5449, allocations: 3.656 kB / 0.4984 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5449, allocations: 384 / 0.4984 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.5451, allocations: 271 kB / 0.4987 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.5452, allocations: 81.02 kB / 0.4988 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.5452, allocations: 3.875 kB / 0.4988 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.5454, allocations: 9.953 kB / 0.4988 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.5454, allocations: 3.922 kB / 0.4988 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5454, allocations: 2.75 kB / 0.4988 GB, free: 8.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.561e-05/0.5455, allocations: 89.2 kB / 0.4989 GB, free: 8.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5455, allocations: 0 / 0.4989 GB, free: 8.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.5459, allocations: 7.531 kB / 0.4989 GB, free: 8.828 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 () * 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.000122/0.546, allocations: 101.9 kB / 0.499 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.5461, allocations: 32.19 kB / 0.499 GB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.5461, allocations: 4.062 kB / 0.499 GB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.5462, allocations: 15.06 kB / 0.499 GB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5465, allocations: 21.92 kB / 0.4991 GB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.5468, allocations: 88.64 kB / 0.4991 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.5469, allocations: 0.6921 MB / 0.4998 GB, free: 7.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.547, allocations: 10.88 kB / 0.4998 GB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.547, allocations: 11.28 kB / 0.4998 GB, free: 7.91 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.547, allocations: 0 / 0.4998 GB, free: 7.91 MB / 330.7 MB Notification: Performance of Templates: time 0.003016/0.5501, allocations: 418.6 kB / 0.5002 GB, free: 7.852 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)