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.001123/0.001122, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.624/1.624, allocations: 205.2 MB / 219 MB, free: 9.211 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.0008852/0.0008852, allocations: 90.61 kB / 267.1 MB, free: 9.277 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.07394/0.07394, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.499e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08498, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.3941, allocations: 78.11 MB / 0.5024 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.3944, allocations: 61.69 kB / 0.5025 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002988/0.3974, allocations: 1.151 MB / 0.5036 GB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3974, allocations: 0 / 0.5036 GB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3974, allocations: 7.844 kB / 0.5036 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.0002622/0.3977, allocations: 341.6 kB / 0.5039 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3978, allocations: 8.469 kB / 0.5039 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3978, allocations: 7.719 kB / 0.504 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3979, allocations: 177.5 kB / 0.5041 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.398, allocations: 3.953 kB / 0.5041 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.398, allocations: 3.844 kB / 0.5041 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3982, allocations: 129.4 kB / 0.5043 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3982, allocations: 3.938 kB / 0.5043 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3982, allocations: 0 / 0.5043 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3983, allocations: 5.812 kB / 0.5043 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.3983, allocations: 18.2 kB / 0.5043 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3987, allocations: 361.4 kB / 0.5046 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3988, allocations: 158 kB / 0.5048 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.3989, allocations: 34.47 kB / 0.5048 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3989, allocations: 0 / 0.5048 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3989, allocations: 37.28 kB / 0.5048 GB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.399, allocations: 0 / 0.5048 GB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001797/0.3991, allocations: 60.78 kB / 0.5049 GB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3992, allocations: 118.2 kB / 0.505 GB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.3993, allocations: 101.1 kB / 0.5051 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3993, allocations: 29.14 kB / 0.5051 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.3993, allocations: 85.91 kB / 0.5052 GB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3993, allocations: 7.75 kB / 0.5052 GB, free: 9.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.3994, allocations: 3.625 kB / 0.5052 GB, free: 9.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.3994, allocations: 317.4 kB / 0.5055 GB, free: 9.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.3994, allocations: 15.22 kB / 0.5056 GB, free: 9.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.3995, allocations: 41.8 kB / 0.5056 GB, free: 9.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/0.3995, allocations: 14.12 kB / 0.5056 GB, free: 9.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3995, allocations: 0 / 0.5056 GB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.504e-05/0.3996, allocations: 86.12 kB / 0.5057 GB, free: 9.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3996, allocations: 3.844 kB / 0.5057 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3997, allocations: 0 / 0.5057 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3997, allocations: 3.844 kB / 0.5057 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.322e-05/0.3998, allocations: 10.31 kB / 0.5057 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3998, allocations: 8.281 kB / 0.5057 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.3998, allocations: 3.875 kB / 0.5057 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3998, allocations: 0.875 kB / 0.5057 GB, free: 9.551 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 5.632e-05/0.3999, allocations: 128.6 kB / 0.5058 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.4, allocations: 47 kB / 0.5059 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.4, allocations: 11.25 kB / 0.5059 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4, allocations: 0 / 0.5059 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4, allocations: 6.328 kB / 0.5059 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4001, allocations: 0 / 0.5059 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.4002, allocations: 167.2 kB / 0.5061 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4002, allocations: 0 / 0.5061 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.4003, allocations: 18.14 kB / 0.5061 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4003, allocations: 7.875 kB / 0.5061 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4003, allocations: 0 / 0.5061 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4003, allocations: 0 / 0.5061 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4003, allocations: 3.875 kB / 0.5061 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.4005, allocations: 269.7 kB / 0.5063 GB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.4005, allocations: 85 kB / 0.5064 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4005, allocations: 8.766 kB / 0.5064 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.4006, allocations: 6.438 kB / 0.5064 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.4007, allocations: 0 / 0.5064 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4007, allocations: 3.875 kB / 0.5064 GB, free: 8.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.4007, allocations: 92.38 kB / 0.5065 GB, free: 8.754 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4007, allocations: 0 / 0.5065 GB, free: 8.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.401, allocations: 7.594 kB / 0.5065 GB, free: 8.754 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 8.275e-05/0.401, allocations: 94.91 kB / 0.5066 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.911e-05/0.4012, allocations: 36.77 kB / 0.5067 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4012, allocations: 0 / 0.5067 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.4012, allocations: 15.22 kB / 0.5067 GB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.4014, allocations: 26.03 kB / 0.5067 GB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.4016, allocations: 95.84 kB / 0.5068 GB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4018, allocations: 0.688 MB / 0.5075 GB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.4018, allocations: 10.23 kB / 0.5075 GB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.4018, allocations: 11.16 kB / 0.5075 GB, free: 7.84 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4018, allocations: 0 / 0.5075 GB, free: 7.84 MB / 330.7 MB Notification: Performance of Templates: time 0.002261/0.4041, allocations: 443.2 kB / 0.5079 GB, free: 7.777 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)