Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001516/0.001515, allocations: 186.4 kB / 16.44 MB, free: 5.672 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.947/1.947, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.001127/0.001127, allocations: 86.92 kB / 270.9 MB, free: 8.375 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.102/0.102, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007421/0.0007419, allocations: 20 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09517, allocations: 50.37 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5453, allocations: 78.5 MB / 0.5086 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.5455, allocations: 61.8 kB / 0.5087 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00683/0.5524, allocations: 1.785 MB / 0.5104 GB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5524, allocations: 0 / 0.5104 GB, free: 12.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5524, allocations: 0 / 0.5104 GB, free: 12.14 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.0004251/0.5529, allocations: 391.1 kB / 0.5108 GB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5529, allocations: 7.688 kB / 0.5108 GB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.553, allocations: 11.75 kB / 0.5108 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.5532, allocations: 186.6 kB / 0.511 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5532, allocations: 7.766 kB / 0.511 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.5532, allocations: 11.75 kB / 0.511 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.5536, allocations: 119.7 kB / 0.5111 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5536, allocations: 0 / 0.5111 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5536, allocations: 0 / 0.5111 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5536, allocations: 3.844 kB / 0.5111 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.5538, allocations: 23.23 kB / 0.5112 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.5542, allocations: 283.6 kB / 0.5114 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.5546, allocations: 85.91 kB / 0.5115 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5547, allocations: 3.875 kB / 0.5115 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5547, allocations: 30.56 kB / 0.5116 GB, free: 11.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.866e-06/0.5547, allocations: 0 / 0.5116 GB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003557/0.5551, allocations: 95.77 kB / 0.5116 GB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.5551, allocations: 85.03 kB / 0.5117 GB, free: 10.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.5553, allocations: 133.1 kB / 0.5119 GB, free: 10.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5553, allocations: 25.7 kB / 0.5119 GB, free: 10.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.5554, allocations: 158.4 kB / 0.512 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.5554, allocations: 11.72 kB / 0.512 GB, free: 10.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.5554, allocations: 3.875 kB / 0.512 GB, free: 10.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.5555, allocations: 314.8 kB / 0.5123 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.5556, allocations: 19.44 kB / 0.5124 GB, free: 10.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.5557, allocations: 50.42 kB / 0.5124 GB, free: 10.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.5559, allocations: 111.2 kB / 0.5125 GB, free: 10.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5559, allocations: 0 / 0.5125 GB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002254/0.5561, allocations: 89.48 kB / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5561, allocations: 7.844 kB / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5562, allocations: 0 / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5562, allocations: 4 kB / 0.5126 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.5563, allocations: 23.11 kB / 0.5126 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5563, allocations: 7.875 kB / 0.5126 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.5564, allocations: 7.719 kB / 0.5126 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5564, allocations: 3.938 kB / 0.5127 GB, free: 10.04 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.000116/0.5566, allocations: 136 kB / 0.5128 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.5567, allocations: 54.95 kB / 0.5128 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.5567, allocations: 11.12 kB / 0.5128 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5567, allocations: 8.031 kB / 0.5129 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5568, allocations: 3.984 kB / 0.5129 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5568, allocations: 0 / 0.5129 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.557, allocations: 173 kB / 0.513 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.557, allocations: 11.78 kB / 0.513 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.5571, allocations: 19.45 kB / 0.5131 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5572, allocations: 3.875 kB / 0.5131 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5572, allocations: 0 / 0.5131 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5572, allocations: 0 / 0.5131 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5572, allocations: 0 / 0.5131 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.5575, allocations: 194.9 kB / 0.5132 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.5575, allocations: 100.3 kB / 0.5133 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.5576, allocations: 3.984 kB / 0.5133 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5577, allocations: 3.844 kB / 0.5133 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.5577, allocations: 4 kB / 0.5133 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5578, allocations: 8.031 kB / 0.5134 GB, free: 9.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.5578, allocations: 106.1 kB / 0.5135 GB, free: 9.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.5579, allocations: 7.656 kB / 0.5135 GB, free: 9.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.5582, allocations: 15.44 kB / 0.5135 GB, free: 9.273 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 8.773e-05/0.5583, allocations: 91.06 kB / 0.5136 GB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.5585, allocations: 54.09 kB / 0.5136 GB, free: 9.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5585, allocations: 0 / 0.5136 GB, free: 9.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.5586, allocations: 14.48 kB / 0.5136 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.559, allocations: 35.31 kB / 0.5137 GB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.5594, allocations: 250.9 kB / 0.5139 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.5596, allocations: 0.7007 MB / 0.5146 GB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.5596, allocations: 11.28 kB / 0.5146 GB, free: 8.215 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5597, allocations: 0 / 0.5146 GB, free: 8.215 MB / 330.7 MB Notification: Performance of Templates: time 0.002699/0.5624, allocations: 0.9347 MB / 0.5155 GB, free: 7.75 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)