Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008785/0.0008788, allocations: 175.4 kB / 16.77 MB, free: 4.91 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.326/1.326, allocations: 205 MB / 222.5 MB, free: 9.055 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.0007862/0.0007863, allocations: 93.89 kB / 270.5 MB, free: 8.645 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.07199/0.07199, allocations: 12.56 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06787/0.06825, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001748/0.07003, allocations: 1.502 MB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000679/0.07073, allocations: 0.5307 MB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.07085, allocations: 0 / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.07098, allocations: 19.86 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.07105, allocations: 7.875 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.07135, allocations: 63.92 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.0715, allocations: 107.6 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.07165, allocations: 81.3 kB / 444 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.07175, allocations: 47.78 kB / 444 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.07183, allocations: 39.72 kB / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.07186, allocations: 4 kB / 444.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.07188, allocations: 0 / 444.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.07193, allocations: 31.84 kB / 444.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.07199, allocations: 55.61 kB / 444.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.07211, allocations: 119.8 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.07212, allocations: 0 / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.07212, allocations: 4 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.07213, allocations: 0 / 444.3 MB, free: 13.77 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004832/0.07262, allocations: 422.9 kB / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.07266, allocations: 8.031 kB / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.07271, allocations: 20.75 kB / 444.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.07289, allocations: 228 kB / 445 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.07291, allocations: 8.375 kB / 445 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.07293, allocations: 12.38 kB / 445 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.07341, allocations: 359.6 kB / 445.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.07344, allocations: 0 / 445.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.07345, allocations: 0 / 445.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.07348, allocations: 4 kB / 445.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.07369, allocations: 123.8 kB / 445.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.07414, allocations: 466.4 kB / 445.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.07449, allocations: 250.4 kB / 446.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.07466, allocations: 131.4 kB / 446.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.0747, allocations: 7.938 kB / 446.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.07472, allocations: 42.5 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.07472, allocations: 0 / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004796/0.07521, allocations: 289.6 kB / 446.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.07525, allocations: 136.5 kB / 446.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.07533, allocations: 150.2 kB / 446.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.07535, allocations: 29.7 kB / 446.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.07539, allocations: 112 kB / 447 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.07541, allocations: 15.89 kB / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.07544, allocations: 17.72 kB / 447.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.07549, allocations: 326.9 kB / 447.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.07558, allocations: 39.97 kB / 447.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.07571, allocations: 156.3 kB / 447.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.07592, allocations: 215.2 kB / 447.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.07593, allocations: 0 / 447.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002814/0.07622, allocations: 209.2 kB / 448 MB, free: 9.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.07624, allocations: 8 kB / 448 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.07625, allocations: 4 kB / 448 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.07627, allocations: 7.938 kB / 448 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.07639, allocations: 44.28 kB / 448.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.07641, allocations: 8 kB / 448.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.07651, allocations: 27.83 kB / 448.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.07653, allocations: 12 kB / 448.1 MB, free: 9.539 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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 7.737e-05/0.07661, allocations: 145.7 kB / 448.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.07667, allocations: 11.91 kB / 448.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.07671, allocations: 24.77 kB / 448.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.07672, allocations: 0 / 448.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.07673, allocations: 0 / 448.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.07676, allocations: 96.92 kB / 448.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.07678, allocations: 4.234 kB / 448.4 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.07692, allocations: 15.98 kB / 448.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.07696, allocations: 3.938 kB / 448.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003743/0.07734, allocations: 0.5259 MB / 448.9 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003302/0.07768, allocations: 0.5999 MB / 449.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001243/0.07781, allocations: 87.92 kB / 449.6 MB, free: 7.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.003e-05/0.07787, allocations: 115.2 kB / 449.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of Backend: time 2.1e-07/0.07788, allocations: 3.938 kB / 449.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005901/0.07848, allocations: 166.8 kB / 449.9 MB, free: 7.684 MB / 298.7 MB Notification: Performance of SimCode: time 0.0005128/0.079, allocations: 0.7769 MB / 450.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of Templates: time 0.003075/0.08209, allocations: 1.225 MB / 451.9 MB, free: 5.645 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)