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.0009704/0.0009704, allocations: 177.8 kB / 15.8 MB, free: 6.34 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.673/1.673, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001035/0.001035, allocations: 94.81 kB / 270.3 MB, free: 13.35 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.07425/0.07425, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004524, allocations: 10.62 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 50.38 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.2305, allocations: 78.21 MB / 0.5084 GB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.2308, allocations: 55.98 kB / 0.5084 GB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003219/0.234, allocations: 1.155 MB / 0.5096 GB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.234, allocations: 4 kB / 0.5096 GB, free: 11.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.2341, allocations: 0 / 0.5096 GB, free: 11.41 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.000352/0.2344, allocations: 363.1 kB / 0.5099 GB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2345, allocations: 11.97 kB / 0.5099 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.2345, allocations: 4 kB / 0.5099 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2347, allocations: 178.8 kB / 0.5101 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2347, allocations: 11.95 kB / 0.5101 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2347, allocations: 0 / 0.5101 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.235, allocations: 125.9 kB / 0.5102 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.235, allocations: 4 kB / 0.5102 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2351, allocations: 0 / 0.5102 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2351, allocations: 0 / 0.5102 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.2352, allocations: 35.92 kB / 0.5103 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.2356, allocations: 357.9 kB / 0.5106 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.2358, allocations: 160.9 kB / 0.5108 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2359, allocations: 0 / 0.5108 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2359, allocations: 38.58 kB / 0.5108 GB, free: 9.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.2359, allocations: 4 kB / 0.5108 GB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002893/0.2362, allocations: 97.58 kB / 0.5109 GB, free: 9.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.2363, allocations: 110.8 kB / 0.511 GB, free: 9.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.2364, allocations: 104.9 kB / 0.5111 GB, free: 9.578 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2364, allocations: 25.95 kB / 0.5111 GB, free: 9.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.2364, allocations: 92.12 kB / 0.5112 GB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.2365, allocations: 11.89 kB / 0.5112 GB, free: 9.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2365, allocations: 384 / 0.5112 GB, free: 9.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2366, allocations: 314.8 kB / 0.5115 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.2367, allocations: 19.98 kB / 0.5115 GB, free: 9.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.2367, allocations: 48.28 kB / 0.5116 GB, free: 9.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.2368, allocations: 27.88 kB / 0.5116 GB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2368, allocations: 0 / 0.5116 GB, free: 9.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.237, allocations: 97.45 kB / 0.5117 GB, free: 8.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.237, allocations: 4 kB / 0.5117 GB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.237, allocations: 0 / 0.5117 GB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.237, allocations: 4 kB / 0.5117 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.2371, allocations: 11.98 kB / 0.5117 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2371, allocations: 4 kB / 0.5117 GB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.2372, allocations: 4 kB / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2372, allocations: 0 / 0.5117 GB, free: 8.887 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 () * 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 9.018e-05/0.2373, allocations: 137.5 kB / 0.5119 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.2374, allocations: 49.69 kB / 0.5119 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.2374, allocations: 7.906 kB / 0.5119 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2374, allocations: 0 / 0.5119 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.2374, allocations: 4 kB / 0.5119 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2375, allocations: 3.984 kB / 0.5119 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.2377, allocations: 169.6 kB / 0.5121 GB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2377, allocations: 3.953 kB / 0.5121 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.2377, allocations: 11.94 kB / 0.5121 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2377, allocations: 4 kB / 0.5121 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2378, allocations: 7.984 kB / 0.5121 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2378, allocations: 0 / 0.5121 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2378, allocations: 0 / 0.5121 GB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.238, allocations: 283.1 kB / 0.5124 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2381, allocations: 85.3 kB / 0.5125 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2381, allocations: 4 kB / 0.5125 GB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.2382, allocations: 4 kB / 0.5125 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.2382, allocations: 11.97 kB / 0.5125 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2383, allocations: 0 / 0.5125 GB, free: 7.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.2383, allocations: 95.16 kB / 0.5126 GB, free: 7.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2383, allocations: 4 kB / 0.5126 GB, free: 7.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000241/0.2386, allocations: 8 kB / 0.5126 GB, free: 7.887 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 () * 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 0.0001109/0.2387, allocations: 99.23 kB / 0.5127 GB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.2388, allocations: 39.92 kB / 0.5127 GB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2388, allocations: 4 kB / 0.5127 GB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.2389, allocations: 20.23 kB / 0.5127 GB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2391, allocations: 27.64 kB / 0.5128 GB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.2395, allocations: 174.5 kB / 0.5129 GB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.2397, allocations: 0.6928 MB / 0.5136 GB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.2398, allocations: 3.984 kB / 0.5136 GB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.2398, allocations: 15.44 kB / 0.5136 GB, free: 6.75 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2398, allocations: 0 / 0.5136 GB, free: 6.75 MB / 362.7 MB Notification: Performance of Templates: time 0.002359/0.2422, allocations: 436.1 kB / 0.514 GB, free: 6.324 MB / 362.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)