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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 106.3 kB / 16.45 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 186.4 kB / 17.39 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08539/0.08539, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 86.59 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.125, allocations: 49.42 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold): time 0.004584/0.1296, allocations: 2.674 MB / 446.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1314, allocations: 0.9553 MB / 447.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.1316, allocations: 7.938 kB / 447.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1319, allocations: 59.33 kB / 447.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.1322, allocations: 67.45 kB / 447.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.1329, allocations: 239.5 kB / 447.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.1333, allocations: 386.8 kB / 447.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.1336, allocations: 184.8 kB / 448.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1338, allocations: 147.3 kB / 448.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.134, allocations: 143.3 kB / 448.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.134, allocations: 36 kB / 448.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1342, allocations: 71.94 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1343, allocations: 75.7 kB / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1344, allocations: 159.1 kB / 448.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1349, allocations: 402.5 kB / 449.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1349, allocations: 0 / 449.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1349, allocations: 0 / 449.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1349, allocations: 0 / 449.1 MB, free: 10.88 MB / 334.1 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.001073/0.136, allocations: 0.6507 MB / 449.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1361, allocations: 12.03 kB / 449.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.1362, allocations: 40.47 kB / 449.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.1367, allocations: 331.9 kB / 450.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1368, allocations: 20.94 kB / 450.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.1368, allocations: 32.38 kB / 450.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1382, allocations: 0.7403 MB / 451 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1382, allocations: 7.938 kB / 451 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1383, allocations: 12 kB / 451 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1383, allocations: 11.98 kB / 451 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.1388, allocations: 223.7 kB / 451.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1399, allocations: 0.7643 MB / 452 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.141, allocations: 0.6223 MB / 452.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.1414, allocations: 263.4 kB / 452.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009928/0.1424, allocations: 0.5972 MB / 453.5 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.1425, allocations: 38.56 kB / 453.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 4.899e-06/0.1425, allocations: 0 / 453.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001568/0.1441, allocations: 0.5253 MB / 454 MB, free: 5.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/0.1444, allocations: 211.7 kB / 454.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.1448, allocations: 258.6 kB / 454.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.1448, allocations: 33.7 kB / 454.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.145, allocations: 152.9 kB / 454.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/0.1451, allocations: 55.55 kB / 454.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.1453, allocations: 86.17 kB / 454.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.1456, allocations: 346.8 kB / 455.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1458, allocations: 85.06 kB / 455.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.1464, allocations: 438.9 kB / 455.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000852/0.1473, allocations: 0.532 MB / 456.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.1473, allocations: 4 kB / 456.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009371/0.1482, allocations: 493.4 kB / 456.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.1483, allocations: 12.19 kB / 456.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.1483, allocations: 16 kB / 456.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.1484, allocations: 12 kB / 456.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.1488, allocations: 123.8 kB / 456.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.1488, allocations: 19.94 kB / 456.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.1491, allocations: 51.58 kB / 456.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.1492, allocations: 32 kB / 456.9 MB, free: 2.254 MB / 334.1 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 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],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.0003236/0.1495, allocations: 195.5 kB / 457.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/0.1503, allocations: 346.1 kB / 457.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008044/0.1511, allocations: 356.5 kB / 457.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.1511, allocations: 4 kB / 457.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1511, allocations: 7.984 kB / 457.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1511, allocations: 4 kB / 457.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.1516, allocations: 341 kB / 458.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.1516, allocations: 7.984 kB / 458.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.152, allocations: 99.88 kB / 458.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.152, allocations: 0 / 458.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.1521, allocations: 8 kB / 458.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.1521, allocations: 7.938 kB / 458.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1521, allocations: 0 / 458.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1534, allocations: 0.779 MB / 459 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.1535, allocations: 116.7 kB / 459.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.1536, allocations: 15.98 kB / 459.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.1538, allocations: 31.97 kB / 459.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1539, allocations: 4 kB / 459.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.1539, allocations: 12 kB / 459.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.1542, allocations: 189.9 kB / 459.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1542, allocations: 0 / 459.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.1548, allocations: 79.91 kB / 459.5 MB, free: 15.57 MB / 350.1 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.0003273/0.1551, allocations: 123.2 kB / 459.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008868/0.156, allocations: 351.9 kB / 460 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1561, allocations: 1.75 kB / 460 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1562, allocations: 31.92 kB / 460 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.1574, allocations: 307 kB / 460.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.1592, allocations: 0.7509 MB / 461 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.1597, allocations: 0.8081 MB / 461.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.1598, allocations: 39.28 kB / 461.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.1599, allocations: 31.44 kB / 461.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1599, allocations: 0 / 461.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01095/0.1709, allocations: 4.666 MB / 466.6 MB, free: 8.398 MB / 350.1 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)