Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.0009155/0.0009156, allocations: 180.2 kB / 17.46 MB, free: 4.359 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.26/1.26, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.0007127/0.0007127, allocations: 86.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0636/0.0636, allocations: 12.21 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 15.98 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06447/0.06486, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.3035, allocations: 78.17 MB / 0.509 GB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.3037, allocations: 60.58 kB / 0.509 GB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002613/0.3063, allocations: 1.153 MB / 0.5101 GB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3064, allocations: 0 / 0.5101 GB, free: 12.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3064, allocations: 0 / 0.5101 GB, free: 12.57 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.0002451/0.3066, allocations: 358.4 kB / 0.5105 GB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.3067, allocations: 7.688 kB / 0.5105 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3067, allocations: 4.812 kB / 0.5105 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3068, allocations: 188.6 kB / 0.5107 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.3068, allocations: 4.125 kB / 0.5107 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3068, allocations: 4.188 kB / 0.5107 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3071, allocations: 130.1 kB / 0.5108 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3071, allocations: 6.156 kB / 0.5108 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3071, allocations: 7.688 kB / 0.5108 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3071, allocations: 0 / 0.5108 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.3072, allocations: 32.69 kB / 0.5109 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.3075, allocations: 354.2 kB / 0.5112 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3077, allocations: 165.6 kB / 0.5114 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.3078, allocations: 39.78 kB / 0.5114 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3078, allocations: 0 / 0.5114 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3078, allocations: 41.59 kB / 0.5114 GB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.3078, allocations: 0 / 0.5114 GB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002484/0.3081, allocations: 93.55 kB / 0.5115 GB, free: 11.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.3081, allocations: 112.2 kB / 0.5116 GB, free: 11.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.3082, allocations: 116.5 kB / 0.5117 GB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.3082, allocations: 29.69 kB / 0.5118 GB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.3082, allocations: 83.58 kB / 0.5118 GB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.3083, allocations: 11.72 kB / 0.5119 GB, free: 10.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.3083, allocations: 3.438 kB / 0.5119 GB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.3083, allocations: 314.8 kB / 0.5122 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.3084, allocations: 14.81 kB / 0.5122 GB, free: 10.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.476e-05/0.3084, allocations: 43.31 kB / 0.5122 GB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.983e-05/0.3085, allocations: 69.78 kB / 0.5123 GB, free: 10.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3085, allocations: 0 / 0.5123 GB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001382/0.3087, allocations: 102.3 kB / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3087, allocations: 7.688 kB / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3087, allocations: 0 / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3087, allocations: 3.812 kB / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.3088, allocations: 8.125 kB / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3088, allocations: 0 / 0.5124 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.3088, allocations: 11.92 kB / 0.5124 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3088, allocations: 6.844 kB / 0.5124 GB, free: 10.41 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.621e-05/0.3089, allocations: 129.5 kB / 0.5125 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.309, allocations: 57.5 kB / 0.5126 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.309, allocations: 3.906 kB / 0.5126 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.309, allocations: 0 / 0.5126 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.309, allocations: 3.812 kB / 0.5126 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.309, allocations: 0 / 0.5126 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.3092, allocations: 175.7 kB / 0.5128 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3092, allocations: 0 / 0.5128 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.3093, allocations: 16.11 kB / 0.5128 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3093, allocations: 3.844 kB / 0.5128 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3093, allocations: 3.438 kB / 0.5128 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3093, allocations: 3.938 kB / 0.5128 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3093, allocations: 3.844 kB / 0.5128 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3095, allocations: 260 kB / 0.513 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.3095, allocations: 88.94 kB / 0.5131 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3095, allocations: 3.844 kB / 0.5131 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.3096, allocations: 3.844 kB / 0.5131 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.3096, allocations: 3.938 kB / 0.5131 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3097, allocations: 3.844 kB / 0.5131 GB, free: 9.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.794e-05/0.3097, allocations: 90.86 kB / 0.5132 GB, free: 9.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3097, allocations: 11.78 kB / 0.5132 GB, free: 9.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.3099, allocations: 3.844 kB / 0.5133 GB, free: 9.594 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.401e-05/0.31, allocations: 94.78 kB / 0.5133 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.3102, allocations: 45.84 kB / 0.5134 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3102, allocations: 3.625 kB / 0.5134 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.3102, allocations: 19.89 kB / 0.5134 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3105, allocations: 27.44 kB / 0.5134 GB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.3108, allocations: 197.3 kB / 0.5136 GB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.3109, allocations: 0.6931 MB / 0.5143 GB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.3109, allocations: 10.81 kB / 0.5143 GB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3109, allocations: 3.938 kB / 0.5143 GB, free: 8.57 MB / 330.7 MB Notification: Performance of Templates: time 0.001593/0.3125, allocations: 0.7536 MB / 0.515 GB, free: 8.199 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)