Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 174.3 kB / 16.76 MB, free: 5.051 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.328/1.328, allocations: 205 MB / 222.5 MB, free: 9.074 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.0007117/0.0007117, allocations: 89.7 kB / 270.5 MB, free: 8.664 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.06904/0.06904, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 15.98 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07535/0.07573, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0005138/0.07628, allocations: 229.9 kB / 441.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.07645, allocations: 69.5 kB / 442 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.0765, allocations: 0 / 442 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.07653, allocations: 3.938 kB / 442 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.577e-05/0.07655, allocations: 0 / 442 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.07671, allocations: 11.98 kB / 442 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.23e-05/0.07675, allocations: 4 kB / 442 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.0768, allocations: 7.984 kB / 442 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.07682, allocations: 4 kB / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.238e-05/0.07686, allocations: 3.984 kB / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.07688, allocations: 0 / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-06/0.07689, allocations: 4 kB / 442 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.07691, allocations: 3.938 kB / 442 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.07694, allocations: 4 kB / 442 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.653e-05/0.07697, allocations: 0 / 442 MB, free: 16.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.07698, allocations: 0 / 442 MB, free: 16.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.07698, allocations: 0 / 442 MB, free: 16.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.07699, allocations: 4 kB / 442 MB, free: 16.06 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001844/0.07718, allocations: 315.5 kB / 442.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.07722, allocations: 8.094 kB / 442.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.07725, allocations: 4.938 kB / 442.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.07736, allocations: 164.3 kB / 442.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.07737, allocations: 384 / 442.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.07739, allocations: 4.375 kB / 442.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.07756, allocations: 156.9 kB / 442.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.07758, allocations: 75.47 kB / 442.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.0776, allocations: 154.5 kB / 442.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.07763, allocations: 150.6 kB / 443 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.07765, allocations: 162.4 kB / 443.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.07782, allocations: 449.9 kB / 443.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.07786, allocations: 169.1 kB / 443.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.07788, allocations: 80.14 kB / 443.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.0779, allocations: 75.28 kB / 444 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.07792, allocations: 109.8 kB / 444.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.07793, allocations: 4 kB / 444.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.635e-05/0.07799, allocations: 33.69 kB / 444.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.07802, allocations: 130.7 kB / 444.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.07808, allocations: 89.86 kB / 444.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.07809, allocations: 25.7 kB / 444.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.06e-05/0.07811, allocations: 88.06 kB / 444.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.07812, allocations: 4.125 kB / 444.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.07814, allocations: 13.72 kB / 444.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.07818, allocations: 310.8 kB / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-06/0.07819, allocations: 0 / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-06/0.07819, allocations: 0 / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.039e-05/0.07821, allocations: 75.28 kB / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.07822, allocations: 75.28 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.542e-05/0.07828, allocations: 29.7 kB / 444.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.0783, allocations: 79.28 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.07832, allocations: 87.16 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.07835, allocations: 158.6 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-06/0.07836, allocations: 79.27 kB / 445.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.07839, allocations: 154.5 kB / 445.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.07845, allocations: 75.28 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.07846, allocations: 79.22 kB / 445.6 MB, free: 12.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.07852, allocations: 265.3 kB / 445.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.07856, allocations: 105 kB / 446 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.07859, allocations: 115.8 kB / 446.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.07862, allocations: 184.2 kB / 446.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/0.07864, allocations: 176.3 kB / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/0.07869, allocations: 184.2 kB / 446.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.07881, allocations: 401.2 kB / 447 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.07883, allocations: 108.9 kB / 447.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.07885, allocations: 105 kB / 447.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/0.07888, allocations: 180.5 kB / 447.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.07891, allocations: 192.1 kB / 447.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.07893, allocations: 188.3 kB / 447.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/0.07896, allocations: 184.2 kB / 448 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.163e-05/0.07903, allocations: 299.8 kB / 448.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.07906, allocations: 182 kB / 448.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.0791, allocations: 196.1 kB / 448.6 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.07915, allocations: 108.9 kB / 448.7 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.07919, allocations: 176.3 kB / 448.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.07921, allocations: 101 kB / 449 MB, free: 8.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.698e-05/0.07923, allocations: 75.28 kB / 449.1 MB, free: 8.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07923, allocations: 0 / 449.1 MB, free: 8.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.07948, allocations: 8.094 kB / 449.1 MB, free: 8.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.317e-05/0.07955, allocations: 174.5 kB / 449.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.612e-05/0.07959, allocations: 0 / 449.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.07959, allocations: 0 / 449.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.0796, allocations: 0 / 449.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.07984, allocations: 0.5263 MB / 449.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001381/0.07998, allocations: 171.8 kB / 449.9 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.762e-05/0.08008, allocations: 0.6692 MB / 450.6 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.0801, allocations: 7.438 kB / 450.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.0801, allocations: 0 / 450.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of Templates: time 0.001153/0.08126, allocations: 315.9 kB / 450.9 MB, free: 6.605 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)