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.0007407/0.0007408, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000766/0.0007661, allocations: 181.7 kB / 16.97 MB, free: 6.879 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.217/1.217, allocations: 205.4 MB / 223.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06212/0.06212, allocations: 12.61 MB / 284 MB, free: 8.801 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.0006518/0.0006518, allocations: 20.84 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07686/0.07752, allocations: 50.39 MB / 395.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold): time 0.002648/0.08021, allocations: 2.37 MB / 397.9 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.08162, allocations: 0.9126 MB / 398.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.08178, allocations: 11.94 kB / 398.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.08196, allocations: 39.59 kB / 398.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.08216, allocations: 51.62 kB / 398.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.08269, allocations: 211.7 kB / 399.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.08301, allocations: 351 kB / 399.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.0833, allocations: 184.6 kB / 399.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.08343, allocations: 95.39 kB / 399.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.08358, allocations: 115.2 kB / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.08362, allocations: 8 kB / 399.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.08372, allocations: 47.95 kB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.08382, allocations: 59.7 kB / 400 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.08394, allocations: 156.8 kB / 400.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.08425, allocations: 350.9 kB / 400.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.08426, allocations: 0 / 400.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08427, allocations: 0 / 400.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.08428, allocations: 0 / 400.5 MB, free: 13.49 MB / 302.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.0008672/0.08515, allocations: 0.5923 MB / 401.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.08519, allocations: 12.03 kB / 401.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.08526, allocations: 40.47 kB / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.08561, allocations: 324 kB / 401.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.08564, allocations: 24.94 kB / 401.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.0857, allocations: 28.31 kB / 401.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.08698, allocations: 0.7792 MB / 402.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.08701, allocations: 7.906 kB / 402.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.08704, allocations: 8 kB / 402.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.08706, allocations: 8 kB / 402.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.08761, allocations: 243.8 kB / 402.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.08839, allocations: 0.7682 MB / 403.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.08943, allocations: 0.6653 MB / 404 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.08988, allocations: 279.2 kB / 404.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.09043, allocations: 0.5895 MB / 404.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.09047, allocations: 42.5 kB / 404.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.136e-06/0.09048, allocations: 112 / 404.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001133/0.09162, allocations: 0.5722 MB / 405.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.09174, allocations: 216 kB / 405.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.09196, allocations: 254.6 kB / 405.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.09199, allocations: 33.7 kB / 405.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.09209, allocations: 152.8 kB / 406.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.09213, allocations: 51.53 kB / 406.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.09219, allocations: 45.69 kB / 406.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.0923, allocations: 342.8 kB / 406.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.09248, allocations: 93.08 kB / 406.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.09284, allocations: 439 kB / 407 MB, free: 6.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.09338, allocations: 0.5398 MB / 407.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.0934, allocations: 4 kB / 407.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007017/0.0941, allocations: 0.4976 MB / 408.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.09413, allocations: 12.03 kB / 408.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.09415, allocations: 12 kB / 408.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.09418, allocations: 19.98 kB / 408.1 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.09446, allocations: 119.8 kB / 408.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.09449, allocations: 27.86 kB / 408.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.09473, allocations: 51.59 kB / 408.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.09477, allocations: 27.98 kB / 408.3 MB, free: 4.777 MB / 302.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.000156/0.09493, allocations: 185.7 kB / 408.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.09553, allocations: 369.8 kB / 408.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/0.09619, allocations: 380.7 kB / 409.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.0962, allocations: 4 kB / 409.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.09621, allocations: 0 / 409.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.09623, allocations: 4 kB / 409.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.09656, allocations: 337.1 kB / 409.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.09657, allocations: 0 / 409.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.09695, allocations: 111.9 kB / 409.7 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.09696, allocations: 11.94 kB / 409.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.09699, allocations: 12 kB / 409.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.097, allocations: 0 / 409.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.09701, allocations: 7.984 kB / 409.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.09819, allocations: 0.8135 MB / 410.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.09827, allocations: 116.6 kB / 410.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.09832, allocations: 16 kB / 410.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.09857, allocations: 36.03 kB / 410.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.09861, allocations: 4.141 kB / 410.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.09865, allocations: 19.98 kB / 410.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.09879, allocations: 178 kB / 410.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0988, allocations: 0 / 410.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.09926, allocations: 83.84 kB / 411 MB, free: 2.012 MB / 302.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.000151/0.09942, allocations: 127.1 kB / 411.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.1001, allocations: 385.5 kB / 411.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1001, allocations: 0 / 411.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1002, allocations: 27.98 kB / 411.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009392/0.1011, allocations: 321.9 kB / 411.8 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1024, allocations: 0.9149 MB / 412.7 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1027, allocations: 0.8161 MB / 413.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.862e-05/0.1028, allocations: 43.25 kB / 413.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.1029, allocations: 35.44 kB / 413.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1029, allocations: 0 / 413.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of Templates: time 0.007147/0.11, allocations: 4.239 MB / 417.9 MB, free: 11.05 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: