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.00117/0.00117, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.449/1.449, allocations: 205.4 MB / 223 MB, free: 9.02 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.0009012/0.0009012, allocations: 86.31 kB / 271.3 MB, free: 8.242 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.1021/0.1021, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 12 kB / 393.3 MB, free: 65.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08687, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0003978/0.08731, allocations: 229.8 kB / 443.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.08751, allocations: 69.48 kB / 444 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.08756, allocations: 0 / 444 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.08758, allocations: 4 kB / 444 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.627e-05/0.0876, allocations: 0 / 444 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.08778, allocations: 11.98 kB / 444 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.424e-05/0.08782, allocations: 4 kB / 444 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.08786, allocations: 0 / 444 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.08789, allocations: 7.984 kB / 444 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.08793, allocations: 8 kB / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.08795, allocations: 0 / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.08797, allocations: 0 / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.08798, allocations: 3.938 kB / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.08802, allocations: 33.69 kB / 444.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.919e-05/0.08805, allocations: 0 / 444.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.08806, allocations: 0 / 444.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08807, allocations: 3.938 kB / 444.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.08808, allocations: 0 / 444.1 MB, free: 15.05 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.0002267/0.08831, allocations: 315.5 kB / 444.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.08836, allocations: 12.03 kB / 444.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.08839, allocations: 0.9375 kB / 444.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.08852, allocations: 168.4 kB / 444.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.08853, allocations: 384 / 444.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.08855, allocations: 384 / 444.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.08873, allocations: 156.9 kB / 444.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.08876, allocations: 75.47 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.08879, allocations: 158.5 kB / 444.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.08881, allocations: 150.6 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.08884, allocations: 162.4 kB / 445.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.08904, allocations: 449.9 kB / 445.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/0.08909, allocations: 173.1 kB / 445.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.08912, allocations: 80.14 kB / 445.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.08913, allocations: 75.28 kB / 446 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.08917, allocations: 109.8 kB / 446.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.08917, allocations: 4 kB / 446.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.092e-05/0.08924, allocations: 33.62 kB / 446.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.08927, allocations: 130.7 kB / 446.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.08934, allocations: 93.86 kB / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.08935, allocations: 25.7 kB / 446.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.289e-05/0.08937, allocations: 80.14 kB / 446.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.08937, allocations: 0 / 446.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.08938, allocations: 0 / 446.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.08943, allocations: 319 kB / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-06/0.08944, allocations: 0 / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.08945, allocations: 0 / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.426e-05/0.08947, allocations: 79.28 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.08948, allocations: 79.28 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.239e-05/0.08953, allocations: 25.7 kB / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.08956, allocations: 87.22 kB / 447 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.08958, allocations: 79.22 kB / 447.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.08961, allocations: 154.6 kB / 447.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-05/0.08963, allocations: 79.22 kB / 447.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.08966, allocations: 154.5 kB / 447.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.08972, allocations: 83.22 kB / 447.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.08973, allocations: 75.28 kB / 447.6 MB, free: 11.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.846e-05/0.0898, allocations: 265.3 kB / 447.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.08984, allocations: 105 kB / 448 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.08987, allocations: 115.8 kB / 448.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.0899, allocations: 180.2 kB / 448.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/0.08993, allocations: 180.2 kB / 448.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.08996, allocations: 184.3 kB / 448.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.0901, allocations: 401.2 kB / 449 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.09012, allocations: 104.9 kB / 449.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.09014, allocations: 105 kB / 449.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.733e-05/0.09017, allocations: 188.5 kB / 449.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.09021, allocations: 180.2 kB / 449.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.817e-05/0.09024, allocations: 188.3 kB / 449.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.09027, allocations: 184.2 kB / 450 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/0.09034, allocations: 303.8 kB / 450.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.09038, allocations: 182.1 kB / 450.4 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.09042, allocations: 192.1 kB / 450.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.09048, allocations: 104.9 kB / 450.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.09051, allocations: 176.3 kB / 450.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.09054, allocations: 108.9 kB / 451 MB, free: 7.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.629e-05/0.09056, allocations: 75.28 kB / 451.1 MB, free: 7.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09056, allocations: 0 / 451.1 MB, free: 7.543 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00023/0.0908, allocations: 0 / 451.1 MB, free: 7.543 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 9.509e-05/0.0909, allocations: 170.6 kB / 451.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.507e-05/0.09094, allocations: 4 kB / 451.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09095, allocations: 4 kB / 451.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-06/0.09096, allocations: 3.984 kB / 451.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.09123, allocations: 0.5146 MB / 451.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001538/0.09139, allocations: 179.7 kB / 452 MB, free: 6.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.0915, allocations: 0.6692 MB / 452.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.09152, allocations: 11.44 kB / 452.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.09153, allocations: 0 / 452.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of Templates: time 0.001225/0.09276, allocations: 311.9 kB / 452.9 MB, free: 5.613 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)