Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.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.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.00134, allocations: 185.7 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.375/1.375, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0007164/0.0007165, allocations: 100.4 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.06337/0.06337, allocations: 12.6 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06162/0.06206, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold): time 0.002033/0.06413, allocations: 2.273 MB / 445.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.06537, allocations: 0.9129 MB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.0656, allocations: 7.938 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.06577, allocations: 47.58 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.06597, allocations: 43.66 kB / 446.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.06649, allocations: 199.6 kB / 446.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.06676, allocations: 327 kB / 446.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.06698, allocations: 131.4 kB / 446.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.06708, allocations: 95.5 kB / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.0672, allocations: 107.3 kB / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.06723, allocations: 8 kB / 447.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.06733, allocations: 43.95 kB / 447.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.0674, allocations: 51.77 kB / 447.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.06746, allocations: 73.52 kB / 447.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.06766, allocations: 271.6 kB / 447.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.06767, allocations: 0 / 447.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.06768, allocations: 4 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.0677, allocations: 3.938 kB / 447.6 MB, free: 11.2 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000793/0.0685, allocations: 0.5961 MB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.06853, allocations: 8.031 kB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.06861, allocations: 43.48 kB / 448.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.06892, allocations: 306.9 kB / 448.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.06895, allocations: 20.56 kB / 448.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.06899, allocations: 31.94 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.07011, allocations: 0.7714 MB / 449.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.07014, allocations: 0 / 449.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.07017, allocations: 12 kB / 449.4 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.07019, allocations: 11.94 kB / 449.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.07069, allocations: 255.6 kB / 449.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.0713, allocations: 0.776 MB / 450.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.07217, allocations: 0.6498 MB / 451.1 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004009/0.07258, allocations: 274.9 kB / 451.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/0.07305, allocations: 0.5934 MB / 451.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.07308, allocations: 38.56 kB / 452 MB, free: 6.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.834e-06/0.07309, allocations: 0 / 452 MB, free: 6.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001039/0.07414, allocations: 0.5565 MB / 452.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.07422, allocations: 219.8 kB / 452.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.07441, allocations: 250.6 kB / 453 MB, free: 5.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.07444, allocations: 33.64 kB / 453 MB, free: 5.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.07451, allocations: 164.7 kB / 453.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.07455, allocations: 43.69 kB / 453.2 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.07456, allocations: 8 kB / 453.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.07462, allocations: 350.8 kB / 453.6 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.07479, allocations: 89.06 kB / 453.6 MB, free: 4.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.07505, allocations: 431.1 kB / 454.1 MB, free: 4.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.07528, allocations: 167.7 kB / 454.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.07529, allocations: 4 kB / 454.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006183/0.07592, allocations: 0.497 MB / 454.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.07594, allocations: 12 kB / 454.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.07596, allocations: 12 kB / 454.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.07598, allocations: 16 kB / 454.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.07627, allocations: 120.4 kB / 454.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.07629, allocations: 31.86 kB / 454.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.07655, allocations: 47.69 kB / 455 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.07658, allocations: 28.42 kB / 455 MB, free: 3.117 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001352/0.07672, allocations: 194.4 kB / 455.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/0.07725, allocations: 365.8 kB / 455.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.07781, allocations: 368.7 kB / 455.9 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.07783, allocations: 4 kB / 455.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.07784, allocations: 4 kB / 455.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.07785, allocations: 3.984 kB / 455.9 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.07811, allocations: 333.1 kB / 456.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.07813, allocations: 8 kB / 456.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.07849, allocations: 103.9 kB / 456.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.0785, allocations: 4 kB / 456.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.07853, allocations: 15.98 kB / 456.4 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.07854, allocations: 4 kB / 456.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.07854, allocations: 0 / 456.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.07956, allocations: 0.8174 MB / 457.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.07962, allocations: 120.6 kB / 457.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.07966, allocations: 12 kB / 457.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.07991, allocations: 31.97 kB / 457.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.07995, allocations: 12.06 kB / 457.4 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.07997, allocations: 11.98 kB / 457.4 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.08009, allocations: 182 kB / 457.6 MB, free: 452 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0801, allocations: 3.938 kB / 457.6 MB, free: 448 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.08052, allocations: 71.91 kB / 457.6 MB, free: 376 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001308/0.08066, allocations: 127 kB / 457.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.08129, allocations: 380.2 kB / 458.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.08131, allocations: 1.375 kB / 458.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.08141, allocations: 31.98 kB / 458.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.08234, allocations: 307.4 kB / 458.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.08371, allocations: 0.9163 MB / 459.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.08405, allocations: 0.8123 MB / 460.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.08413, allocations: 27.44 kB / 460.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.08414, allocations: 0 / 460.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of Templates: time 0.006372/0.09051, allocations: 4.387 MB / 464.6 MB, free: 9.32 MB / 314.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe 2>&1)