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.00162/0.001619, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.3 MB / 214.1 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 90.64 kB / 262.2 MB, free: 1.672 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.09971/0.09971, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.161e-05, allocations: 7.938 kB / 378.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3094, allocations: 50.36 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4484, allocations: 77.76 MB / 0.4951 GB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4487, allocations: 55.98 kB / 0.4952 GB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007564/0.4563, allocations: 1.77 MB / 0.4969 GB, free: 2.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.068e-06/0.4564, allocations: 0 / 0.4969 GB, free: 2.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4564, allocations: 7.938 kB / 0.4969 GB, free: 2.719 MB / 346.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.0005094/0.4569, allocations: 354.4 kB / 0.4973 GB, free: 2.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.457, allocations: 12.03 kB / 0.4973 GB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.457, allocations: 15.75 kB / 0.4973 GB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.4573, allocations: 202.8 kB / 0.4975 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.4574, allocations: 3.953 kB / 0.4975 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.4574, allocations: 4 kB / 0.4975 GB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.81e-05/0.4575, allocations: 16 kB / 0.4975 GB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.4578, allocations: 101 kB / 0.4976 GB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4578, allocations: 0 / 0.4976 GB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4578, allocations: 0 / 0.4976 GB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.4579, allocations: 4 kB / 0.4976 GB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.4584, allocations: 262.2 kB / 0.4979 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.4588, allocations: 69.2 kB / 0.4979 GB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.4589, allocations: 21.78 kB / 0.498 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4589, allocations: 3.984 kB / 0.498 GB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.459, allocations: 42.5 kB / 0.498 GB, free: 1.453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.459, allocations: 0 / 0.498 GB, free: 1.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002607/0.4592, allocations: 57.69 kB / 0.4981 GB, free: 1.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.4593, allocations: 81.09 kB / 0.4981 GB, free: 1.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.4595, allocations: 130.1 kB / 0.4983 GB, free: 1.152 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4596, allocations: 29.64 kB / 0.4983 GB, free: 1.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.4597, allocations: 158.6 kB / 0.4984 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4597, allocations: 11.92 kB / 0.4984 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.4598, allocations: 0 / 0.4984 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4599, allocations: 314.8 kB / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.47e-05/0.46, allocations: 12 kB / 0.4988 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.46, allocations: 36.3 kB / 0.4988 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4602, allocations: 98.56 kB / 0.4989 GB, free: 468 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4602, allocations: 0 / 0.4989 GB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.4604, allocations: 73.48 kB / 0.499 GB, free: 388 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4604, allocations: 11.94 kB / 0.499 GB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4605, allocations: 0 / 0.499 GB, free: 376 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4605, allocations: 4 kB / 0.499 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4606, allocations: 15.98 kB / 0.499 GB, free: 356 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4606, allocations: 4.156 kB / 0.499 GB, free: 352 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.4607, allocations: 7.938 kB / 0.499 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4607, allocations: 4 kB / 0.499 GB, free: 340 kB / 346.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 () * 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.0001383/0.4609, allocations: 109 kB / 0.4991 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.461, allocations: 69.42 kB / 0.4992 GB, free: 148 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.4611, allocations: 12.34 kB / 0.4992 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4611, allocations: 0 / 0.4992 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4611, allocations: 0 / 0.4992 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4611, allocations: 4 kB / 0.4992 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.4614, allocations: 154.2 kB / 0.4993 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4614, allocations: 0 / 0.4993 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.4616, allocations: 19.98 kB / 0.4994 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4616, allocations: 0 / 0.4994 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4616, allocations: 3.953 kB / 0.4994 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4616, allocations: 3.984 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4617, allocations: 4 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.4619, allocations: 178 kB / 0.4995 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.462, allocations: 92.95 kB / 0.4996 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.4621, allocations: 8 kB / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4622, allocations: 0 / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4622, allocations: 7.984 kB / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4623, allocations: 0 / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.4624, allocations: 108.5 kB / 0.4997 GB, free: 15.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4624, allocations: 4 kB / 0.4997 GB, free: 15.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.4627, allocations: 8 kB / 0.4998 GB, free: 15.47 MB / 362.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 () * 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.0001232/0.4629, allocations: 95.25 kB / 0.4998 GB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.463, allocations: 35.92 kB / 0.4999 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4631, allocations: 3.938 kB / 0.4999 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.4631, allocations: 4 kB / 0.4999 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.4635, allocations: 25.05 kB / 0.4999 GB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.4639, allocations: 154.9 kB / 0.5001 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4643, allocations: 0.7002 MB / 0.5007 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.4643, allocations: 19.36 kB / 0.5008 GB, free: 14.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4644, allocations: 0 / 0.5008 GB, free: 14.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003229/0.4676, allocations: 0.923 MB / 0.5017 GB, free: 13.46 MB / 362.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)