Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.0567/0.0567, allocations: 3.953 MB / 306.6 MB, free: 6.031 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 426.5 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09272, allocations: 52.92 MB / 479.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002723/0.09544, allocations: 1.521 MB / 481 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.09761, allocations: 1.157 MB / 482.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.09769, allocations: 3.938 kB / 482.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.09785, allocations: 47.59 kB / 482.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.09793, allocations: 23.78 kB / 482.2 MB, free: 13.14 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.09873, allocations: 243.2 kB / 482.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.09905, allocations: 251.5 kB / 482.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.09909, allocations: 5.562 kB / 482.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.09929, allocations: 103.7 kB / 482.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.09941, allocations: 79.61 kB / 482.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.09944, allocations: 12 kB / 482.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.09977, allocations: 179.8 kB / 483.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.09983, allocations: 31.86 kB / 483.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.09993, allocations: 83.52 kB / 483.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.1004, allocations: 286.9 kB / 483.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1004, allocations: 0 / 483.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1004, allocations: 0 / 483.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1004, allocations: 0 / 483.5 MB, free: 11.89 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002705/0.1031, allocations: 2.274 MB / 485.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1031, allocations: 8.031 kB / 485.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.1038, allocations: 104.7 kB / 485.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1042, allocations: 255.9 kB / 486.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1042, allocations: 12.38 kB / 486.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1043, allocations: 12.38 kB / 486.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1047, allocations: 256.3 kB / 486.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1047, allocations: 4 kB / 486.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1048, allocations: 4 kB / 486.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1048, allocations: 4 kB / 486.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.1052, allocations: 219.8 kB / 486.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.1055, allocations: 258.3 kB / 486.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.1059, allocations: 217.3 kB / 487.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.1063, allocations: 201.5 kB / 487.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1063, allocations: 0 / 487.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006352/0.1069, allocations: 0.5245 MB / 487.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.1069, allocations: 4 kB / 487.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00133/0.1082, allocations: 0.7662 MB / 488.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.1084, allocations: 156.4 kB / 488.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1086, allocations: 215.1 kB / 488.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1086, allocations: 29.7 kB / 489 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.1087, allocations: 112.7 kB / 489.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1088, allocations: 51.69 kB / 489.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1089, allocations: 57.69 kB / 489.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.109, allocations: 330.8 kB / 489.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.1093, allocations: 132.2 kB / 489.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1095, allocations: 143 kB / 489.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.1102, allocations: 464.4 kB / 490.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1102, allocations: 4 kB / 490.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007379/0.1109, allocations: 464.2 kB / 490.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/0.111, allocations: 94.5 kB / 490.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.111, allocations: 0 / 490.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1111, allocations: 0 / 490.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1112, allocations: 19.97 kB / 490.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1112, allocations: 0 / 490.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1113, allocations: 23.89 kB / 490.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.1114, allocations: 39.94 kB / 490.8 MB, free: 4.125 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (globalSeed.seed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002745/0.1116, allocations: 264.1 kB / 491.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.1117, allocations: 31.86 kB / 491.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.1117, allocations: 17.39 kB / 491.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1118, allocations: 0 / 491.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1118, allocations: 3.938 kB / 491.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1118, allocations: 0 / 491.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.112, allocations: 269.4 kB / 491.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.112, allocations: 4 kB / 491.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.1121, allocations: 15.98 kB / 491.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1121, allocations: 0 / 491.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.1121, allocations: 8 kB / 491.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1121, allocations: 192 / 491.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1121, allocations: 7.984 kB / 491.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1132, allocations: 0.7084 MB / 492.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.1134, allocations: 136.9 kB / 492.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.1135, allocations: 31.92 kB / 492.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1136, allocations: 11.98 kB / 492.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1137, allocations: 19.98 kB / 492.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/0.1138, allocations: 43.88 kB / 492.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1139, allocations: 143.2 kB / 492.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1139, allocations: 0 / 492.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.1143, allocations: 79.92 kB / 492.6 MB, free: 2.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0006068/0.1149, allocations: 259 kB / 492.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009089/0.1158, allocations: 0.5688 MB / 493.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1158, allocations: 0 / 493.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.1163, allocations: 406.6 kB / 493.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1166, allocations: 28.11 kB / 493.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.1175, allocations: 0.5199 MB / 494.4 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1179, allocations: 0.7311 MB / 495.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.1179, allocations: 16.55 kB / 495.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.118, allocations: 19.42 kB / 495.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.118, allocations: 192 / 495.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.009071/0.127, allocations: 3.954 MB / 499.1 MB, free: 11.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.527661812957376] Failed to read output from testmodel.py, exit status != 0: 0.13462219713255763 0.14837071100000002 0.045164674 Calling exit ...