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.001397/0.001397, allocations: 110 kB / 18.93 MB, free: 2.945 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.001801/0.001801, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.534/1.534, allocations: 225.6 MB / 251 MB, free: 13 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.05589/0.05589, allocations: 3.954 MB / 310.2 MB, free: 4.848 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.00211/0.00211, allocations: 59.91 kB / 431.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1042, allocations: 52.97 MB / 484.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002737/0.1069, allocations: 1.519 MB / 486.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1091, allocations: 1.188 MB / 487.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.1092, allocations: 7.938 kB / 487.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1093, allocations: 31.67 kB / 487.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.1094, allocations: 23.78 kB / 487.5 MB, free: 11.56 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.0007888/0.1102, allocations: 259.2 kB / 487.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.1105, allocations: 271.5 kB / 488 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.1106, allocations: 9.75 kB / 488 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1108, allocations: 107.6 kB / 488.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1109, allocations: 83.66 kB / 488.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1109, allocations: 12 kB / 488.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.1113, allocations: 207.7 kB / 488.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.1114, allocations: 27.86 kB / 488.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1115, allocations: 91.45 kB / 488.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.1119, allocations: 291 kB / 488.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1119, allocations: 0 / 488.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1119, allocations: 0 / 488.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1119, allocations: 4 kB / 488.8 MB, free: 10.22 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.002775/0.1147, allocations: 2.195 MB / 491 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1147, allocations: 12.03 kB / 491 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006953/0.1154, allocations: 104.7 kB / 491.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1158, allocations: 190.1 kB / 491.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.1158, allocations: 8.375 kB / 491.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1158, allocations: 12.38 kB / 491.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.1163, allocations: 259.6 kB / 491.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1163, allocations: 0 / 491.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1163, allocations: 7.938 kB / 491.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1163, allocations: 0 / 491.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.1168, allocations: 219.8 kB / 491.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.1171, allocations: 241.3 kB / 492 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.1175, allocations: 213.3 kB / 492.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.1178, allocations: 189.6 kB / 492.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1178, allocations: 0 / 492.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.1185, allocations: 0.5225 MB / 493 MB, free: 5.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.1185, allocations: 0 / 493 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001477/0.1199, allocations: 0.7746 MB / 493.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.1201, allocations: 156.4 kB / 493.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1203, allocations: 219.1 kB / 494.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1203, allocations: 33.7 kB / 494.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.1204, allocations: 116.6 kB / 494.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1205, allocations: 39.66 kB / 494.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1206, allocations: 53.69 kB / 494.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1208, allocations: 334.8 kB / 494.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.121, allocations: 140.2 kB / 494.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.1213, allocations: 140.4 kB / 494.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/0.1219, allocations: 471.4 kB / 495.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1219, allocations: 0 / 495.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000725/0.1226, allocations: 463 kB / 495.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1227, allocations: 95.36 kB / 496 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1227, allocations: 0 / 496 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1227, allocations: 0 / 496 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1229, allocations: 23.98 kB / 496 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1229, allocations: 4 kB / 496 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.123, allocations: 23.88 kB / 496 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.1231, allocations: 31.89 kB / 496 MB, free: 2.66 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.0002688/0.1233, allocations: 259.7 kB / 496.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.1234, allocations: 31.84 kB / 496.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.1234, allocations: 13.41 kB / 496.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1234, allocations: 4 kB / 496.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1234, allocations: 4 kB / 496.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1234, allocations: 0 / 496.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.1237, allocations: 244.4 kB / 496.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1237, allocations: 4 kB / 496.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.1238, allocations: 8.172 kB / 496.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1238, allocations: 3.984 kB / 496.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.1238, allocations: 23.91 kB / 496.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1238, allocations: 0 / 496.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1238, allocations: 0 / 496.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1249, allocations: 0.7054 MB / 497.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.125, allocations: 55.81 kB / 497.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.1251, allocations: 23.92 kB / 497.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1252, allocations: 15.98 kB / 497.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.1253, allocations: 15.98 kB / 497.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.1254, allocations: 51.92 kB / 497.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1255, allocations: 144.7 kB / 497.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1255, allocations: 0 / 497.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.1258, allocations: 83.86 kB / 497.7 MB, free: 0.8867 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.0005734/0.1264, allocations: 256 kB / 498 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.1273, allocations: 0.5688 MB / 498.5 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1273, allocations: 0 / 498.5 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.1279, allocations: 406.7 kB / 498.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.1281, allocations: 27.94 kB / 498.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/0.129, allocations: 0.5277 MB / 499.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1293, allocations: 0.7277 MB / 0.4885 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.1294, allocations: 20.47 kB / 0.4885 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1294, allocations: 15.38 kB / 0.4885 GB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1294, allocations: 0 / 0.4885 GB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.008743/0.1382, allocations: 4.086 MB / 0.4925 GB, free: 10.23 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.687788923271] Failed to read output from testmodel.py, exit status != 0: 0.14612748567014933 0.16357638500000002 0.048455526000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa5e3b817b0>