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.0009088/0.0009089, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.486/1.486, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007398/0.0007398, allocations: 90.3 kB / 270.9 MB, free: 8.359 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.08536/0.08536, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004424, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08241/0.08286, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001419/0.08432, allocations: 1.313 MB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005985/0.08494, allocations: 0.5078 MB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.08502, allocations: 4 kB / 444.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.08508, allocations: 11.86 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.0852, allocations: 3.938 kB / 444.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.08543, allocations: 43.89 kB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.333e-05/0.08552, allocations: 59.78 kB / 445 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.08563, allocations: 7.984 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.0857, allocations: 27.86 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.08576, allocations: 19.86 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.08578, allocations: 4 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.0858, allocations: 0 / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.08583, allocations: 11.92 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.08586, allocations: 37.64 kB / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.312e-05/0.08593, allocations: 44.14 kB / 445.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.08594, allocations: 4 kB / 445.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08595, allocations: 0 / 445.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.08596, allocations: 0 / 445.1 MB, free: 13.68 MB / 298.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.0003785/0.08634, allocations: 367.1 kB / 445.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.08638, allocations: 16.02 kB / 445.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.08642, allocations: 7.906 kB / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.08656, allocations: 207.2 kB / 445.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.08658, allocations: 8 kB / 445.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.08661, allocations: 4 kB / 445.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.08684, allocations: 113 kB / 445.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.08686, allocations: 0 / 445.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.08688, allocations: 0 / 445.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.08688, allocations: 7.938 kB / 445.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.08697, allocations: 27.98 kB / 445.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.08722, allocations: 277.7 kB / 446.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.08751, allocations: 81.19 kB / 446.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.08757, allocations: 33.7 kB / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.0876, allocations: 0 / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.08762, allocations: 34.56 kB / 446.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.08762, allocations: 0 / 446.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002218/0.08785, allocations: 89.7 kB / 446.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.0879, allocations: 85.09 kB / 446.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.08798, allocations: 143 kB / 446.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.088, allocations: 25.7 kB / 446.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.08803, allocations: 96.25 kB / 446.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.08804, allocations: 11.84 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.08805, allocations: 0 / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.0881, allocations: 326.8 kB / 447 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.08815, allocations: 15.98 kB / 447.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.097e-05/0.08821, allocations: 52.28 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.08832, allocations: 109 kB / 447.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08833, allocations: 0 / 447.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00014/0.08848, allocations: 93.52 kB / 447.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.0885, allocations: 8 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.08851, allocations: 3.984 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.08852, allocations: 3.938 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.08859, allocations: 19.94 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.0886, allocations: 4 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.08866, allocations: 7.984 kB / 447.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.08867, allocations: 160 / 447.4 MB, free: 11.16 MB / 298.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 8.182e-05/0.08876, allocations: 129.6 kB / 447.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.08884, allocations: 61.53 kB / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.08888, allocations: 16.23 kB / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.08889, allocations: 0 / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.08889, allocations: 0 / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.0889, allocations: 4 kB / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.08902, allocations: 181.5 kB / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.08903, allocations: 0 / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.08913, allocations: 23.92 kB / 447.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.08914, allocations: 4 kB / 447.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.08916, allocations: 4 kB / 447.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.08916, allocations: 0 / 447.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.08917, allocations: 0 / 447.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.08932, allocations: 188.2 kB / 447.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.08937, allocations: 100.9 kB / 448 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.08939, allocations: 4 kB / 448.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.08947, allocations: 0 / 448.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.0895, allocations: 4 kB / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.08951, allocations: 0 / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.08958, allocations: 115.8 kB / 448.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08959, allocations: 0 / 448.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.0898, allocations: 8 kB / 448.2 MB, free: 10.23 MB / 298.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 6.695e-05/0.08987, allocations: 95.25 kB / 448.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.09004, allocations: 51.91 kB / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.09005, allocations: 0 / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.09009, allocations: 15.98 kB / 448.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.0904, allocations: 45.66 kB / 448.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.09069, allocations: 245.5 kB / 448.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.0908, allocations: 0.7005 MB / 449.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.09083, allocations: 11.44 kB / 449.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09083, allocations: 0 / 449.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of Templates: time 0.00172/0.09256, allocations: 0.957 MB / 450.3 MB, free: 8.047 MB / 298.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)