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.0009828/0.0009828, allocations: 180.9 kB / 8.049 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.3 MB / 213.8 MB, free: 1.676 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.0007878/0.0007881, allocations: 86.64 kB / 261.8 MB, free: 1.617 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.07703/0.07703, allocations: 12.59 MB / 322.3 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.114e-05, allocations: 4 kB / 378.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 50.37 MB / 429.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09962/0.3496, allocations: 77.75 MB / 0.4952 GB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3498, allocations: 59.97 kB / 0.4952 GB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004811/0.3547, allocations: 1.774 MB / 0.497 GB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3547, allocations: 0 / 0.497 GB, free: 2.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3547, allocations: 7.938 kB / 0.497 GB, free: 2.633 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.0004041/0.3551, allocations: 358.4 kB / 0.4973 GB, free: 2.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3552, allocations: 12.03 kB / 0.4973 GB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.3552, allocations: 11.81 kB / 0.4973 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3554, allocations: 206.7 kB / 0.4975 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3555, allocations: 3.953 kB / 0.4975 GB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3555, allocations: 4 kB / 0.4975 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.03e-05/0.3556, allocations: 16 kB / 0.4975 GB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3558, allocations: 105 kB / 0.4976 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3558, allocations: 0 / 0.4976 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3559, allocations: 0 / 0.4976 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3559, allocations: 4 kB / 0.4976 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3563, allocations: 258.3 kB / 0.4979 GB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.3565, allocations: 73.22 kB / 0.498 GB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.3566, allocations: 21.78 kB / 0.498 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3566, allocations: 0 / 0.498 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3567, allocations: 38.56 kB / 0.498 GB, free: 1.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3567, allocations: 0 / 0.498 GB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001814/0.3569, allocations: 61.53 kB / 0.4981 GB, free: 1.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.3569, allocations: 81.11 kB / 0.4982 GB, free: 1.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3571, allocations: 126.1 kB / 0.4983 GB, free: 1.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3571, allocations: 25.7 kB / 0.4983 GB, free: 1.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.3571, allocations: 88.14 kB / 0.4984 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3571, allocations: 15.92 kB / 0.4984 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.3572, allocations: 0 / 0.4984 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3573, allocations: 314.8 kB / 0.4987 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.3573, allocations: 8 kB / 0.4987 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.3574, allocations: 48.22 kB / 0.4988 GB, free: 0.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3575, allocations: 102.6 kB / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3575, allocations: 0 / 0.4989 GB, free: 436 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001125/0.3576, allocations: 81.47 kB / 0.4989 GB, free: 348 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3576, allocations: 4 kB / 0.4989 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3576, allocations: 0 / 0.4989 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3577, allocations: 4 kB / 0.4989 GB, free: 340 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.3577, allocations: 24.09 kB / 0.499 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3578, allocations: 0 / 0.499 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.3578, allocations: 19.77 kB / 0.499 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3578, allocations: 4 kB / 0.499 GB, free: 292 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 9.385e-05/0.3579, allocations: 101 kB / 0.4991 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.358, allocations: 61.48 kB / 0.4991 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.3581, allocations: 12.34 kB / 0.4992 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3581, allocations: 0 / 0.4992 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3581, allocations: 0 / 0.4992 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3581, allocations: 15.92 kB / 0.4992 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3583, allocations: 146.2 kB / 0.4993 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3583, allocations: 0 / 0.4993 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3584, allocations: 19.98 kB / 0.4993 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3584, allocations: 3.984 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.3584, allocations: 3.953 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3584, allocations: 4 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3585, allocations: 0 / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3586, allocations: 174 kB / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.3587, allocations: 96.95 kB / 0.4996 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3587, allocations: 7.984 kB / 0.4996 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.3588, allocations: 0 / 0.4996 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3588, allocations: 4 kB / 0.4996 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3588, allocations: 3.938 kB / 0.4996 GB, free: 15.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.3589, allocations: 120.5 kB / 0.4997 GB, free: 15.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3589, allocations: 0 / 0.4997 GB, free: 15.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000213/0.3591, allocations: 8 kB / 0.4997 GB, free: 15.43 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 9.865e-05/0.3592, allocations: 91.25 kB / 0.4998 GB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.3594, allocations: 35.92 kB / 0.4999 GB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3594, allocations: 0 / 0.4999 GB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.3594, allocations: 4 kB / 0.4999 GB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3597, allocations: 29.42 kB / 0.4999 GB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.36, allocations: 117 kB / 0.5 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3603, allocations: 0.7001 MB / 0.5007 GB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.3603, allocations: 15.78 kB / 0.5007 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.3604, allocations: 11.44 kB / 0.5007 GB, free: 14.37 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3604, allocations: 0 / 0.5007 GB, free: 14.37 MB / 362.7 MB Notification: Performance of Templates: time 0.002776/0.3631, allocations: 0.6455 MB / 0.5013 GB, free: 13.73 MB / 362.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)