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.0008719/0.0008715, allocations: 176.1 kB / 16.77 MB, free: 5.047 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.299/1.299, allocations: 205 MB / 222.6 MB, free: 9.152 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.0007292/0.0007294, allocations: 97.56 kB / 270.5 MB, free: 8.672 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.06615/0.06615, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.08162, allocations: 49.98 MB / 441.7 MB, free: 16.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0006699/0.08234, allocations: 225.9 kB / 441.9 MB, free: 16.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.08257, allocations: 73.48 kB / 442 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.08264, allocations: 0 / 442 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.08267, allocations: 0 / 442 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.431e-05/0.0827, allocations: 3.938 kB / 442 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.08291, allocations: 11.98 kB / 442 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.283e-05/0.08296, allocations: 7.984 kB / 442 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.08303, allocations: 4 kB / 442 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.08305, allocations: 0 / 442 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.0831, allocations: 7.984 kB / 442 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.08313, allocations: 4 kB / 442 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-06/0.08314, allocations: 0 / 442 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.08316, allocations: 3.938 kB / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.08319, allocations: 0 / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.519e-05/0.08324, allocations: 4 kB / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.08325, allocations: 0 / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.08326, allocations: 0 / 442 MB, free: 16.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.08327, allocations: 0 / 442 MB, free: 16.08 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.0002407/0.08352, allocations: 315.5 kB / 442.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.08357, allocations: 12.03 kB / 442.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.08361, allocations: 4.938 kB / 442.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.08377, allocations: 172.2 kB / 442.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.08379, allocations: 384 / 442.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.08381, allocations: 4.375 kB / 442.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.08401, allocations: 144.9 kB / 442.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.08404, allocations: 79.47 kB / 442.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.08407, allocations: 158.5 kB / 442.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.0841, allocations: 154.6 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.08414, allocations: 154.5 kB / 443.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.08434, allocations: 442 kB / 443.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.0844, allocations: 173.1 kB / 443.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.08442, allocations: 80.14 kB / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.08444, allocations: 75.28 kB / 444 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.08448, allocations: 109.8 kB / 444.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.08449, allocations: 4 kB / 444.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.237e-05/0.08456, allocations: 33.69 kB / 444.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.08459, allocations: 51.41 kB / 444.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.08466, allocations: 93.84 kB / 444.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.08467, allocations: 25.7 kB / 444.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.08469, allocations: 84.14 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.0847, allocations: 3.938 kB / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.08472, allocations: 13.72 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.08477, allocations: 318.9 kB / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/0.08478, allocations: 0 / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-06/0.08479, allocations: 0 / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.27e-05/0.08481, allocations: 75.28 kB / 444.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.08482, allocations: 75.28 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.823e-05/0.08488, allocations: 29.7 kB / 444.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.08491, allocations: 80.22 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.08493, allocations: 79.22 kB / 445 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/0.08497, allocations: 166.5 kB / 445.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.12e-05/0.08499, allocations: 75.28 kB / 445.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.08502, allocations: 158.5 kB / 445.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.08508, allocations: 75.28 kB / 445.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.0851, allocations: 83.22 kB / 445.6 MB, free: 12.3 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 6.174e-05/0.08517, allocations: 265.2 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.08521, allocations: 101 kB / 445.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.08524, allocations: 115.8 kB / 446 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.08528, allocations: 188.2 kB / 446.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.0853, allocations: 101 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.08534, allocations: 182.3 kB / 446.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.08538, allocations: 180.2 kB / 446.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.08543, allocations: 113 kB / 446.8 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.08547, allocations: 184.2 kB / 447 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.985e-05/0.08552, allocations: 255.5 kB / 447.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.073e-05/0.0856, allocations: 391 kB / 447.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.217e-05/0.08563, allocations: 104.9 kB / 447.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.08566, allocations: 79.28 kB / 447.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of Backend: time 5.01e-07/0.08566, allocations: 0 / 447.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.08595, allocations: 74.41 kB / 447.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002912/0.08625, allocations: 0.9685 MB / 448.8 MB, free: 8.859 MB / 298.7 MB Notification: Performance of Templates: time 0.001634/0.08789, allocations: 168.8 kB / 449 MB, free: 8.695 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)