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.001629/0.001629, allocations: 174.1 kB / 16.8 MB, free: 5.008 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.516/1.516, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007278/0.0007279, allocations: 95.02 kB / 271.3 MB, free: 8.234 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.07157/0.07157, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004994, allocations: 16 kB / 393.3 MB, free: 65.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07077/0.07129, allocations: 50.38 MB / 443.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold): time 0.002225/0.07356, allocations: 2.366 MB / 446.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.07497, allocations: 0.9125 MB / 447 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.07522, allocations: 11.94 kB / 447 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.07541, allocations: 43.58 kB / 447 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.07565, allocations: 51.69 kB / 447.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.07624, allocations: 211.7 kB / 447.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.07656, allocations: 362.9 kB / 447.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.07682, allocations: 180.6 kB / 447.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.07694, allocations: 91.45 kB / 447.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.07708, allocations: 123.2 kB / 448 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.07712, allocations: 8 kB / 448 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.07723, allocations: 39.97 kB / 448.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.07731, allocations: 55.75 kB / 448.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.07743, allocations: 160.7 kB / 448.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.07765, allocations: 279.5 kB / 448.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.07767, allocations: 4 kB / 448.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.07767, allocations: 0 / 448.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.07769, allocations: 0 / 448.6 MB, free: 10.54 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.0008086/0.0785, allocations: 0.5885 MB / 449.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.07854, allocations: 12.02 kB / 449.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.07862, allocations: 40.47 kB / 449.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.07899, allocations: 320 kB / 449.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.07902, allocations: 16.94 kB / 449.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.07907, allocations: 32.38 kB / 449.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.0802, allocations: 0.7752 MB / 450.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.08023, allocations: 11.84 kB / 450.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.08026, allocations: 12 kB / 450.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.08028, allocations: 8 kB / 450.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.08079, allocations: 247.8 kB / 450.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.08145, allocations: 0.7644 MB / 451.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008796/0.08235, allocations: 0.6576 MB / 452 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.08276, allocations: 279.2 kB / 452.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/0.08327, allocations: 0.5972 MB / 452.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.0833, allocations: 42.55 kB / 452.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.033e-06/0.08331, allocations: 0 / 452.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.00107/0.08439, allocations: 0.568 MB / 453.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.08447, allocations: 203.9 kB / 453.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.08467, allocations: 258.7 kB / 454 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.0847, allocations: 33.7 kB / 454 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.08478, allocations: 156.8 kB / 454.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.08482, allocations: 51.62 kB / 454.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.08484, allocations: 15.94 kB / 454.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.0849, allocations: 346.8 kB / 454.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.08507, allocations: 85.08 kB / 454.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.08534, allocations: 442.9 kB / 455.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.08579, allocations: 0.5359 MB / 455.6 MB, free: 2.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.0858, allocations: 8 kB / 455.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006543/0.08646, allocations: 0.4967 MB / 456.1 MB, free: 2.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.08649, allocations: 8 kB / 456.1 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.08651, allocations: 12.91 kB / 456.1 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.08653, allocations: 19.98 kB / 456.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.08684, allocations: 123.8 kB / 456.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.08687, allocations: 23.92 kB / 456.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.08711, allocations: 59.52 kB / 456.3 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.08714, allocations: 32 kB / 456.4 MB, free: 1.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.0873, allocations: 177.6 kB / 456.5 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/0.08786, allocations: 365.9 kB / 456.9 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.08845, allocations: 380.7 kB / 457.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.08847, allocations: 8.469 kB / 457.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.08848, allocations: 0 / 457.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.0885, allocations: 4 kB / 457.3 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.08879, allocations: 345.1 kB / 457.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.0888, allocations: 0 / 457.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.08916, allocations: 107.9 kB / 457.7 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.08918, allocations: 3.984 kB / 457.7 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.08921, allocations: 8 kB / 457.7 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.08922, allocations: 15.86 kB / 457.8 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.08922, allocations: 4 kB / 457.8 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.0904, allocations: 0.8136 MB / 458.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.09049, allocations: 120.6 kB / 458.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.09055, allocations: 12 kB / 458.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.09084, allocations: 36.03 kB / 458.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.09089, allocations: 8 kB / 458.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.09093, allocations: 11.98 kB / 458.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.0911, allocations: 186 kB / 458.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09111, allocations: 3.938 kB / 458.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004622/0.09158, allocations: 75.84 kB / 459 MB, free: 15.11 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001718/0.09176, allocations: 123.1 kB / 459.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007043/0.09247, allocations: 377.5 kB / 459.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.09249, allocations: 0 / 459.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.0926, allocations: 36.17 kB / 459.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.09361, allocations: 311.3 kB / 459.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.09515, allocations: 0.9518 MB / 460.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.09551, allocations: 0.8122 MB / 461.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.0956, allocations: 35.42 kB / 461.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.09561, allocations: 7.938 kB / 461.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of Templates: time 0.006962/0.1026, allocations: 4.412 MB / 466.1 MB, free: 7.988 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)