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.001499/0.001499, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001982/0.001982, allocations: 224.3 kB / 23 MB, free: 4.914 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.0289/0.0289, allocations: 3.941 MB / 317.1 MB, free: 15.14 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.002266/0.002266, allocations: 67.91 kB / 440.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 54.15 MB / 495.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.003095/0.1134, allocations: 1.464 MB / 496.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1157, allocations: 1.055 MB / 497.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.1158, allocations: 4 kB / 497.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1159, allocations: 15.81 kB / 497.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.1161, allocations: 19.86 kB / 497.6 MB, free: 2.363 MB / 350.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.000754/0.1169, allocations: 199.3 kB / 497.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1171, allocations: 119.7 kB / 498 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.1172, allocations: 8 kB / 498 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1174, allocations: 51.77 kB / 498 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.1174, allocations: 39.83 kB / 498.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1175, allocations: 12 kB / 498.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.1179, allocations: 199.7 kB / 498.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.118, allocations: 19.92 kB / 498.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.118, allocations: 31.78 kB / 498.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.1184, allocations: 215.2 kB / 498.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1184, allocations: 0 / 498.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1184, allocations: 0 / 498.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1184, allocations: 0 / 498.5 MB, free: 1.484 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006242/0.1191, allocations: 356.7 kB / 498.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1191, allocations: 8.031 kB / 498.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.1196, allocations: 60.81 kB / 498.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1198, allocations: 150.1 kB / 499.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1199, allocations: 8.359 kB / 499.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1199, allocations: 16.06 kB / 499.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1201, allocations: 77.64 kB / 499.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1201, allocations: 0 / 499.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1201, allocations: 3.938 kB / 499.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1201, allocations: 0 / 499.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1203, allocations: 63.95 kB / 499.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.1208, allocations: 296.3 kB / 499.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.121, allocations: 70.55 kB / 499.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.1211, allocations: 44.83 kB / 499.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1212, allocations: 0 / 499.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1212, allocations: 34.5 kB / 499.7 MB, free: 220 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1212, allocations: 4 kB / 499.7 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004571/0.1217, allocations: 153.6 kB / 499.8 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.1217, allocations: 51.41 kB / 499.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1219, allocations: 146.4 kB / 0.4883 GB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1219, allocations: 25.7 kB / 0.4883 GB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.122, allocations: 104.1 kB / 0.4884 GB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.122, allocations: 27.94 kB / 0.4885 GB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.1221, allocations: 33.69 kB / 0.4885 GB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1223, allocations: 322.8 kB / 0.4888 GB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.1223, allocations: 35.98 kB / 0.4888 GB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.1224, allocations: 39.92 kB / 0.4889 GB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.1226, allocations: 80.83 kB / 0.489 GB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1226, allocations: 7.938 kB / 0.489 GB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002769/0.1229, allocations: 137.5 kB / 0.4891 GB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1229, allocations: 4 kB / 0.4891 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1229, allocations: 0 / 0.4891 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1229, allocations: 0 / 0.4891 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1231, allocations: 19.98 kB / 0.4891 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1231, allocations: 0 / 0.4891 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1231, allocations: 15.98 kB / 0.4891 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.1232, allocations: 31.83 kB / 0.4892 GB, free: 14.93 MB / 366.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.0001147/0.1233, allocations: 113.8 kB / 0.4893 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.1233, allocations: 11.95 kB / 0.4893 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.1234, allocations: 16.66 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1234, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1234, allocations: 4 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1234, allocations: 3.984 kB / 0.4893 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1236, allocations: 145.2 kB / 0.4894 GB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1236, allocations: 0 / 0.4894 GB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.1237, allocations: 15.98 kB / 0.4895 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1237, allocations: 0 / 0.4895 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1237, allocations: 3.984 kB / 0.4895 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1237, allocations: 4 kB / 0.4895 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1237, allocations: 0 / 0.4895 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.1241, allocations: 223.3 kB / 0.4897 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1241, allocations: 23.88 kB / 0.4897 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1241, allocations: 4 kB / 0.4897 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1242, allocations: 4 kB / 0.4897 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.1243, allocations: 11.97 kB / 0.4897 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.1243, allocations: 33.39 kB / 0.4898 GB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.1244, allocations: 113.3 kB / 0.4899 GB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1244, allocations: 0 / 0.4899 GB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1248, allocations: 51.86 kB / 0.4899 GB, free: 14.1 MB / 366.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.0006608/0.1254, allocations: 256 kB / 0.4902 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.1257, allocations: 87.88 kB / 0.4902 GB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1257, allocations: 4 kB / 0.4902 GB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.1258, allocations: 39.92 kB / 0.4903 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.126, allocations: 15.92 kB / 0.4903 GB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1265, allocations: 223.7 kB / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.161e-05/0.1266, allocations: 89.31 kB / 0.4906 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1266, allocations: 19.42 kB / 0.4906 GB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1266, allocations: 4 kB / 0.4906 GB, free: 13.37 MB / 366.1 MB Notification: Performance of Templates: time 0.005354/0.132, allocations: 2.451 MB / 0.493 GB, free: 10.92 MB / 366.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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.608356051146984] Failed to read output from testmodel.py, exit status != 0: 0.1401207409799099 0.157128864 0.035145947000000004 Calling exit ...