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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 95.58 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 178.3 kB / 16.61 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.8 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09662/0.09662, allocations: 12.61 MB / 283.7 MB, free: 8.703 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007279/0.000728, allocations: 16 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09721, allocations: 50.39 MB / 394.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0005678/0.09782, allocations: 223 kB / 395.1 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.09807, allocations: 67.86 kB / 395.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.09812, allocations: 0 / 395.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.217e-06/0.09814, allocations: 0 / 395.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 1.964e-05/0.09816, allocations: 0 / 395.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.09835, allocations: 15.97 kB / 395.2 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.0984, allocations: 4 kB / 395.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.09845, allocations: 0 / 395.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.09847, allocations: 7.938 kB / 395.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.09852, allocations: 11.92 kB / 395.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.09855, allocations: 0 / 395.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-06/0.09856, allocations: 0 / 395.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.09857, allocations: 0 / 395.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.0986, allocations: 25.7 kB / 395.2 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.231e-05/0.09864, allocations: 7.984 kB / 395.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.09865, allocations: 0 / 395.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09865, allocations: 3.938 kB / 395.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.09867, allocations: 0 / 395.2 MB, free: 2.449 MB / 286.1 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.0002975/0.09897, allocations: 319.3 kB / 395.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09901, allocations: 12.03 kB / 395.6 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.09904, allocations: 0 / 395.6 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.09921, allocations: 163.1 kB / 395.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.09923, allocations: 8 kB / 395.7 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.09925, allocations: 3.953 kB / 395.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.09948, allocations: 148.3 kB / 395.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.09953, allocations: 79.27 kB / 396 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.09959, allocations: 154.6 kB / 396.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.09964, allocations: 154.5 kB / 396.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.0997, allocations: 154.6 kB / 396.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.09996, allocations: 442 kB / 396.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.1001, allocations: 169.1 kB / 397 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1001, allocations: 75.28 kB / 397.1 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.1001, allocations: 117.7 kB / 397.2 MB, free: 320 kB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1002, allocations: 4 kB / 397.2 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.852e-05/0.1002, allocations: 33.73 kB / 397.2 MB, free: 276 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.1003, allocations: 126.7 kB / 397.4 MB, free: 136 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.1004, allocations: 89.86 kB / 397.5 MB, free: 36 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.1004, allocations: 25.7 kB / 397.5 MB, free: 4 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1005, allocations: 84.14 kB / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.1005, allocations: 0 / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.1005, allocations: 0 / 397.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1006, allocations: 319 kB / 397.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-06/0.1006, allocations: 0 / 397.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-06/0.1006, allocations: 0 / 397.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.1006, allocations: 75.28 kB / 397.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.1007, allocations: 79.22 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.355e-05/0.1007, allocations: 31.7 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.1008, allocations: 87.17 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.1008, allocations: 79.27 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-05/0.1009, allocations: 162.5 kB / 398.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-05/0.1009, allocations: 79.22 kB / 398.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.994e-05/0.101, allocations: 154.5 kB / 398.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.101, allocations: 79.28 kB / 398.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.1011, allocations: 75.28 kB / 398.8 MB, free: 14.7 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.1012, allocations: 272.1 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.1012, allocations: 108.9 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.1013, allocations: 111.8 kB / 399.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-05/0.1014, allocations: 184.2 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-05/0.1014, allocations: 180.3 kB / 399.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/0.1015, allocations: 176.3 kB / 399.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1017, allocations: 405.2 kB / 400.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/0.1018, allocations: 105 kB / 400.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.1018, allocations: 108.9 kB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.865e-05/0.1019, allocations: 180.3 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.102, allocations: 180.6 kB / 400.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.76e-05/0.102, allocations: 192.2 kB / 400.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.248e-05/0.1021, allocations: 176.3 kB / 401.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1022, allocations: 311.8 kB / 401.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1023, allocations: 178.1 kB / 401.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.1024, allocations: 180.2 kB / 401.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1025, allocations: 109 kB / 401.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.1025, allocations: 184.2 kB / 402 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.1026, allocations: 109 kB / 402.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.951e-05/0.1026, allocations: 79.28 kB / 402.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1026, allocations: 0 / 402.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1029, allocations: 4 kB / 402.2 MB, free: 11.02 MB / 302.1 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 (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.0001263/0.103, allocations: 174.6 kB / 402.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.295e-05/0.1031, allocations: 0 / 402.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1031, allocations: 3.938 kB / 402.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1031, allocations: 0 / 402.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1034, allocations: 0.5185 MB / 402.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.1036, allocations: 162.2 kB / 403.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1038, allocations: 0.6731 MB / 403.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.684e-06/0.1038, allocations: 0 / 403.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.1038, allocations: 7.438 kB / 403.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1038, allocations: 0 / 403.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of Templates: time 0.001768/0.1056, allocations: 164.2 kB / 403.9 MB, free: 9.254 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: