Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00265/0.00265, allocations: 155.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.04412/0.04412, allocations: 3.157 MB / 262.9 MB, free: 13.67 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.91 kB / 386.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1171, allocations: 54.11 MB / 440.9 MB, free: 11.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002917/0.12, allocations: 1.478 MB / 442.3 MB, free: 9.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1222, allocations: 1.052 MB / 443.4 MB, free: 8.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1223, allocations: 0 / 443.4 MB, free: 8.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1224, allocations: 15.86 kB / 443.4 MB, free: 8.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1226, allocations: 23.81 kB / 443.4 MB, free: 8.73 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.1232, allocations: 187.4 kB / 443.6 MB, free: 8.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1234, allocations: 119.7 kB / 443.7 MB, free: 8.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.1235, allocations: 19.97 kB / 443.7 MB, free: 8.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1237, allocations: 43.8 kB / 443.8 MB, free: 8.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.1238, allocations: 39.83 kB / 443.8 MB, free: 8.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1238, allocations: 8 kB / 443.8 MB, free: 8.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.1242, allocations: 203.7 kB / 444 MB, free: 8.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.1242, allocations: 23.86 kB / 444.1 MB, free: 8.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.1243, allocations: 27.8 kB / 444.1 MB, free: 8.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1246, allocations: 211.4 kB / 444.3 MB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1246, allocations: 0 / 444.3 MB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1246, allocations: 0 / 444.3 MB, free: 7.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1247, allocations: 3.938 kB / 444.3 MB, free: 7.859 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006241/0.1253, allocations: 353.5 kB / 444.6 MB, free: 7.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1253, allocations: 11.97 kB / 444.6 MB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.1258, allocations: 55.95 kB / 444.7 MB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.126, allocations: 150.9 kB / 444.8 MB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1261, allocations: 4.375 kB / 444.9 MB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1261, allocations: 20.11 kB / 444.9 MB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.1263, allocations: 85.56 kB / 445 MB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1263, allocations: 0 / 445 MB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1263, allocations: 0 / 445 MB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1263, allocations: 0 / 445 MB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1265, allocations: 59.95 kB / 445 MB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.1271, allocations: 296.2 kB / 445.3 MB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.1273, allocations: 78.58 kB / 445.4 MB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.1274, allocations: 40.84 kB / 445.4 MB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1274, allocations: 0 / 445.4 MB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1274, allocations: 34.55 kB / 445.5 MB, free: 6.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.1274, allocations: 0 / 445.5 MB, free: 6.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004308/0.1279, allocations: 149.7 kB / 445.6 MB, free: 6.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.1279, allocations: 59.28 kB / 445.7 MB, free: 6.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1281, allocations: 146.4 kB / 445.8 MB, free: 6.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1281, allocations: 25.7 kB / 445.8 MB, free: 6.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.1282, allocations: 104.1 kB / 445.9 MB, free: 6.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1282, allocations: 23.78 kB / 446 MB, free: 6.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.1283, allocations: 33.7 kB / 446 MB, free: 6.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1285, allocations: 326.7 kB / 446.3 MB, free: 5.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.1285, allocations: 35.98 kB / 446.3 MB, free: 5.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.1286, allocations: 35.97 kB / 446.4 MB, free: 5.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1288, allocations: 80.83 kB / 446.5 MB, free: 5.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1288, allocations: 0 / 446.5 MB, free: 5.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00028/0.1291, allocations: 145.7 kB / 446.6 MB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1291, allocations: 11.92 kB / 446.6 MB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1291, allocations: 3.938 kB / 446.6 MB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1291, allocations: 0 / 446.6 MB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1293, allocations: 19.98 kB / 446.6 MB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1293, allocations: 0 / 446.6 MB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.1293, allocations: 12 kB / 446.6 MB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.1294, allocations: 27.89 kB / 446.7 MB, free: 5.301 MB / 414.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: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001056/0.1295, allocations: 117.8 kB / 446.8 MB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1295, allocations: 15.91 kB / 446.8 MB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.1296, allocations: 12.77 kB / 446.8 MB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1296, allocations: 7.938 kB / 446.8 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1296, allocations: 0 / 446.8 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1296, allocations: 0 / 446.8 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1298, allocations: 149.2 kB / 447 MB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1298, allocations: 0 / 447 MB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.1299, allocations: 15.98 kB / 447 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1299, allocations: 0 / 447 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1299, allocations: 0 / 447 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1299, allocations: 4 kB / 447 MB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1299, allocations: 4 kB / 447 MB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1302, allocations: 219.3 kB / 447.2 MB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.1303, allocations: 27.86 kB / 447.2 MB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1303, allocations: 4 kB / 447.2 MB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1304, allocations: 0 / 447.2 MB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1304, allocations: 11.92 kB / 447.2 MB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.1305, allocations: 30.95 kB / 447.3 MB, free: 4.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.761e-05/0.1306, allocations: 115.2 kB / 447.4 MB, free: 4.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1306, allocations: 4 kB / 447.4 MB, free: 4.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.1309, allocations: 55.81 kB / 447.4 MB, free: 4.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005599/0.1314, allocations: 251 kB / 447.7 MB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1317, allocations: 87.83 kB / 447.8 MB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1317, allocations: 0 / 447.8 MB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1319, allocations: 39.97 kB / 447.8 MB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1321, allocations: 10.97 kB / 447.8 MB, free: 4.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.1326, allocations: 209.8 kB / 448 MB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1327, allocations: 89.38 kB / 448.1 MB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.1328, allocations: 24.59 kB / 448.1 MB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.1329, allocations: 28.48 kB / 448.2 MB, free: 3.734 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1329, allocations: 0 / 448.2 MB, free: 3.734 MB / 414.1 MB Notification: Performance of Templates: time 0.006562/0.1394, allocations: 2.235 MB / 450.4 MB, free: 1.508 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.570016896002926] Failed to read output from testmodel.py, exit status != 0: 0.1486426560441032 0.164952295 0.037013659000000004 Calling exit ...