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.0009121/0.0009121, allocations: 185 kB / 16.45 MB, free: 5.656 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.359/1.359, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.0008455/0.0008456, allocations: 90.3 kB / 270.9 MB, free: 8.344 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.08058/0.08058, allocations: 12.6 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.000423, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09767, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0006409/0.09835, allocations: 231 kB / 443.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.0986, allocations: 67.84 kB / 443.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.09866, allocations: 0 / 443.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.09869, allocations: 0 / 443.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.09872, allocations: 0 / 443.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.09892, allocations: 19.92 kB / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.09897, allocations: 0 / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.09903, allocations: 4 kB / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.09905, allocations: 3.984 kB / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.09911, allocations: 0 / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.09913, allocations: 4 kB / 443.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.09915, allocations: 4 kB / 443.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.09916, allocations: 0 / 443.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.09919, allocations: 33.64 kB / 443.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.502e-05/0.09923, allocations: 7.922 kB / 443.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09924, allocations: 0 / 443.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.09924, allocations: 0 / 443.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.09925, allocations: 4 kB / 443.4 MB, free: 15.42 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.0002628/0.09952, allocations: 311.3 kB / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.09956, allocations: 8.094 kB / 443.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.09959, allocations: 4 kB / 443.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.09972, allocations: 167.1 kB / 443.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.09974, allocations: 0 / 443.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.09976, allocations: 7.953 kB / 443.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.09996, allocations: 152.3 kB / 444 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.09998, allocations: 83.22 kB / 444.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.1, allocations: 150.6 kB / 444.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1, allocations: 150.6 kB / 444.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.1001, allocations: 150.6 kB / 444.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.1003, allocations: 453.9 kB / 445 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/0.1003, allocations: 169.1 kB / 445.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.1004, allocations: 80.14 kB / 445.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1004, allocations: 79.23 kB / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1004, allocations: 105.8 kB / 445.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.1004, allocations: 0 / 445.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.955e-05/0.1005, allocations: 37.62 kB / 445.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1005, allocations: 134.7 kB / 445.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.1006, allocations: 89.86 kB / 445.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.1006, allocations: 25.7 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.426e-05/0.1006, allocations: 80.14 kB / 445.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.1006, allocations: 0 / 445.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1007, allocations: 4 kB / 445.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.1007, allocations: 310.8 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.1007, allocations: 4.125 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.1007, allocations: 0 / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.229e-05/0.1007, allocations: 75.28 kB / 446.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.1008, allocations: 75.28 kB / 446.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.815e-05/0.1008, allocations: 37.62 kB / 446.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1008, allocations: 83.23 kB / 446.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1009, allocations: 75.28 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.1009, allocations: 158.6 kB / 446.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.285e-05/0.1009, allocations: 83.22 kB / 446.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.1009, allocations: 150.6 kB / 446.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.101, allocations: 79.22 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.101, allocations: 75.28 kB / 447 MB, free: 11.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.1011, allocations: 273 kB / 447.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1012, allocations: 109 kB / 447.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1012, allocations: 115.8 kB / 447.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.1012, allocations: 176.3 kB / 447.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/0.1013, allocations: 184.2 kB / 447.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/0.1013, allocations: 188.3 kB / 448 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1015, allocations: 405.2 kB / 448.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/0.1015, allocations: 112.9 kB / 448.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.1015, allocations: 101 kB / 448.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-05/0.1015, allocations: 184.2 kB / 448.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.1016, allocations: 176.6 kB / 448.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-05/0.1016, allocations: 184.2 kB / 449.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-05/0.1017, allocations: 184.2 kB / 449.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/0.1018, allocations: 311.8 kB / 449.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1018, allocations: 178.1 kB / 449.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1019, allocations: 180.2 kB / 450 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.1019, allocations: 109 kB / 450.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.102, allocations: 188.2 kB / 450.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.102, allocations: 104.9 kB / 450.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.114e-05/0.102, allocations: 75.28 kB / 450.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.102, allocations: 0 / 450.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.1023, allocations: 0 / 450.4 MB, free: 7.91 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 (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.205e-05/0.1024, allocations: 174.6 kB / 450.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.732e-05/0.1024, allocations: 0 / 450.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1024, allocations: 0 / 450.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1024, allocations: 0 / 450.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1027, allocations: 0.5263 MB / 451.1 MB, free: 7.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.1029, allocations: 179.7 kB / 451.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.103, allocations: 0.6731 MB / 452 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.103, allocations: 7.438 kB / 452 MB, free: 6.281 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.103, allocations: 0 / 452 MB, free: 6.281 MB / 298.7 MB Notification: Performance of Templates: time 0.001313/0.1043, allocations: 315.9 kB / 452.3 MB, free: 5.973 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)