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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007142/0.0007142, allocations: 97.17 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007231/0.0007231, allocations: 184.3 kB / 16.96 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06114/0.06114, allocations: 12.61 MB / 284 MB, free: 8.586 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006336/0.0006337, allocations: 24 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07058/0.07122, allocations: 50.38 MB / 395.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.001429/0.07268, allocations: 1.255 MB / 396.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006258/0.07332, allocations: 479.8 kB / 397.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.07339, allocations: 7.938 kB / 397.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.07342, allocations: 0 / 397.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.859e-05/0.07348, allocations: 3.938 kB / 397.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.07374, allocations: 35.91 kB / 397.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.07382, allocations: 43.84 kB / 397.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.07392, allocations: 15.98 kB / 397.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.07399, allocations: 11.92 kB / 397.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.07405, allocations: 27.86 kB / 397.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.07407, allocations: 0 / 397.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.07409, allocations: 4 kB / 397.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.07411, allocations: 3.938 kB / 397.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.07416, allocations: 45.56 kB / 397.5 MB, free: 484 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.07424, allocations: 43.81 kB / 397.5 MB, free: 440 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.07425, allocations: 4 kB / 397.5 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.07426, allocations: 0 / 397.5 MB, free: 436 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.07426, allocations: 0 / 397.5 MB, free: 436 kB / 286.1 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.0003744/0.07464, allocations: 355.6 kB / 397.9 MB, free: 32 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.07468, allocations: 8.031 kB / 397.9 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.07472, allocations: 8.844 kB / 397.9 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.07489, allocations: 176.3 kB / 398.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.07491, allocations: 8.375 kB / 398.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.07493, allocations: 384 / 398.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.0752, allocations: 142.1 kB / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.07522, allocations: 0 / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.07523, allocations: 0 / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.07524, allocations: 0 / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.07534, allocations: 35.92 kB / 398.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.07565, allocations: 278.5 kB / 398.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.07584, allocations: 156.9 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.07592, allocations: 42.62 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.07595, allocations: 7.969 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.07597, allocations: 30.56 kB / 398.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.07598, allocations: 3.938 kB / 398.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002462/0.07623, allocations: 97.61 kB / 398.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.07631, allocations: 110.8 kB / 398.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.07639, allocations: 113.8 kB / 399.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.07641, allocations: 29.7 kB / 399.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.07645, allocations: 84.14 kB / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.07647, allocations: 12.16 kB / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.0765, allocations: 17.7 kB / 399.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.07659, allocations: 314.8 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.07664, allocations: 23.92 kB / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.0767, allocations: 48.22 kB / 399.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.07682, allocations: 68.16 kB / 399.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.07683, allocations: 4 kB / 399.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001487/0.07698, allocations: 89.61 kB / 399.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.077, allocations: 4 kB / 399.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.07701, allocations: 0 / 399.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.07703, allocations: 7.938 kB / 399.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.0771, allocations: 12.36 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.07711, allocations: 0 / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.07716, allocations: 7.938 kB / 399.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.07718, allocations: 8.125 kB / 399.8 MB, free: 13.84 MB / 302.1 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.y,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.07726, allocations: 121.7 kB / 399.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.07734, allocations: 53.53 kB / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.07738, allocations: 15.89 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.07738, allocations: 0 / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.07739, allocations: 0 / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.0774, allocations: 4 kB / 400 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.07756, allocations: 173.6 kB / 400.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.07757, allocations: 0 / 400.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.07763, allocations: 15.98 kB / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.07764, allocations: 0 / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.07765, allocations: 4 kB / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.07766, allocations: 0 / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.07766, allocations: 0 / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.07785, allocations: 197 kB / 400.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.0779, allocations: 81.11 kB / 400.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.07792, allocations: 0 / 400.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.07799, allocations: 4.281 kB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.07802, allocations: 3.984 kB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.07803, allocations: 4 kB / 400.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.07808, allocations: 91.27 kB / 400.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07808, allocations: 0 / 400.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.07831, allocations: 16 kB / 400.5 MB, free: 12.96 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.833e-05/0.07839, allocations: 95.23 kB / 400.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.07855, allocations: 43.92 kB / 400.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.07856, allocations: 7.875 kB / 400.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.183e-05/0.07861, allocations: 16.3 kB / 400.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.07886, allocations: 35.97 kB / 400.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.07914, allocations: 178.5 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.07937, allocations: 0.6887 MB / 401.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.417e-05/0.0794, allocations: 8 kB / 401.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.07943, allocations: 11.38 kB / 401.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.07943, allocations: 0 / 401.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Templates: time 0.002018/0.08146, allocations: 456.8 kB / 402.1 MB, free: 11.38 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: