Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 171.9 kB / 16.8 MB, free: 5.031 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.651/1.651, allocations: 205.4 MB / 223 MB, free: 8.938 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.0007647/0.0007647, allocations: 94.3 kB / 271.3 MB, free: 8.242 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.08701/0.08701, allocations: 12.59 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007002/0.0007005, allocations: 16 kB / 393.2 MB, free: 65.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1224, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.5035, allocations: 78.53 MB / 0.5099 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5038, allocations: 69.41 kB / 0.51 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004441/0.5083, allocations: 1.778 MB / 0.5117 GB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5083, allocations: 0 / 0.5117 GB, free: 12.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.5083, allocations: 3.875 kB / 0.5117 GB, free: 12.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003958/0.5087, allocations: 388.3 kB / 0.5121 GB, free: 12.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5088, allocations: 11.56 kB / 0.5121 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.5088, allocations: 8.656 kB / 0.5121 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.509, allocations: 191.6 kB / 0.5123 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.509, allocations: 4.312 kB / 0.5123 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.5091, allocations: 4.219 kB / 0.5123 GB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5093, allocations: 127.7 kB / 0.5124 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5093, allocations: 0 / 0.5124 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.5094, allocations: 0 / 0.5124 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5094, allocations: 0 / 0.5124 GB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.5095, allocations: 26.92 kB / 0.5124 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.5098, allocations: 290.4 kB / 0.5127 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.5101, allocations: 82.66 kB / 0.5128 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.5102, allocations: 33.17 kB / 0.5128 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5102, allocations: 0 / 0.5128 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.5102, allocations: 30.56 kB / 0.5129 GB, free: 11.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5102, allocations: 3.844 kB / 0.5129 GB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002497/0.5105, allocations: 95.12 kB / 0.5129 GB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5106, allocations: 87.86 kB / 0.513 GB, free: 11.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5107, allocations: 143 kB / 0.5132 GB, free: 11.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.5107, allocations: 25.7 kB / 0.5132 GB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.5108, allocations: 98.3 kB / 0.5133 GB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.5108, allocations: 7.891 kB / 0.5133 GB, free: 11.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.5108, allocations: 0 / 0.5133 GB, free: 11.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.5109, allocations: 326 kB / 0.5136 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.511, allocations: 22.83 kB / 0.5136 GB, free: 10.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.511, allocations: 48.38 kB / 0.5137 GB, free: 10.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.5113, allocations: 155.3 kB / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5113, allocations: 0 / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001533/0.5114, allocations: 94.22 kB / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5114, allocations: 7.859 kB / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.5115, allocations: 3.969 kB / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5115, allocations: 0 / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.5115, allocations: 15 kB / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5116, allocations: 0 / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.5116, allocations: 11.77 kB / 0.5139 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.5116, allocations: 0 / 0.5139 GB, free: 10.54 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (firstOrder.y,$DER.firstOrder.y) * 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 0.0001209/0.5118, allocations: 134.3 kB / 0.5141 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.5119, allocations: 55.56 kB / 0.5141 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.5119, allocations: 15.83 kB / 0.5141 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5119, allocations: 0 / 0.5141 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5119, allocations: 3.906 kB / 0.5141 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5119, allocations: 0 / 0.5141 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.5121, allocations: 184.1 kB / 0.5143 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5121, allocations: 0 / 0.5143 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/0.5122, allocations: 22.45 kB / 0.5143 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5122, allocations: 4 kB / 0.5143 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.5122, allocations: 384 / 0.5143 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5122, allocations: 0 / 0.5143 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5122, allocations: 0 / 0.5143 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.5124, allocations: 188.5 kB / 0.5145 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.5125, allocations: 108.2 kB / 0.5146 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.5125, allocations: 0 / 0.5146 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.5126, allocations: 7.219 kB / 0.5146 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.5126, allocations: 0 / 0.5146 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.5127, allocations: 3.844 kB / 0.5146 GB, free: 9.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.982e-05/0.5127, allocations: 117.5 kB / 0.5148 GB, free: 9.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5127, allocations: 3.938 kB / 0.5148 GB, free: 9.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.513, allocations: 7.812 kB / 0.5148 GB, free: 9.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000109/0.5131, allocations: 94.97 kB / 0.5149 GB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.5133, allocations: 57.59 kB / 0.5149 GB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5133, allocations: 3.844 kB / 0.5149 GB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.5134, allocations: 11.77 kB / 0.5149 GB, free: 9.668 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.5137, allocations: 40.66 kB / 0.515 GB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.5141, allocations: 215.9 kB / 0.5152 GB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5142, allocations: 0.7035 MB / 0.5159 GB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.317e-05/0.5143, allocations: 7.625 kB / 0.5159 GB, free: 8.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.5143, allocations: 15.27 kB / 0.5159 GB, free: 8.742 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5143, allocations: 0 / 0.5159 GB, free: 8.742 MB / 330.7 MB Notification: Performance of Templates: time 0.002724/0.517, allocations: 0.6868 MB / 0.5165 GB, free: 8.402 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)