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.001524/0.001524, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001645/0.001645, allocations: 211.1 kB / 23 MB, free: 5.113 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.02704/0.02704, allocations: 3.948 MB / 317.1 MB, free: 15.36 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.001996/0.001996, allocations: 59.91 kB / 441 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 54.16 MB / 495.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002939/0.1055, allocations: 1.493 MB / 496.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1077, allocations: 1.133 MB / 497.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1077, allocations: 4 kB / 497.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1079, allocations: 15.8 kB / 497.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.108, allocations: 19.86 kB / 497.8 MB, free: 2.594 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.0006874/0.1087, allocations: 187.4 kB / 498 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1089, allocations: 119.7 kB / 498.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.109, allocations: 15.98 kB / 498.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1092, allocations: 47.78 kB / 498.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.1093, allocations: 47.81 kB / 498.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1093, allocations: 8 kB / 498.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.1097, allocations: 207.6 kB / 498.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.1098, allocations: 19.91 kB / 498.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.1098, allocations: 39.73 kB / 498.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.1103, allocations: 203.4 kB / 498.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1103, allocations: 3.938 kB / 498.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1103, allocations: 0 / 498.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1103, allocations: 0 / 498.7 MB, free: 1.711 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.0006219/0.1109, allocations: 357.4 kB / 499.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1109, allocations: 8.031 kB / 499.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.1114, allocations: 60.75 kB / 499.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1116, allocations: 156.4 kB / 499.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1117, allocations: 4.375 kB / 499.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1117, allocations: 8.125 kB / 499.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1119, allocations: 85.58 kB / 499.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1119, allocations: 0 / 499.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1119, allocations: 0 / 499.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1119, allocations: 4 kB / 499.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1121, allocations: 59.95 kB / 499.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.1126, allocations: 331.8 kB / 499.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1128, allocations: 82.47 kB / 499.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.1129, allocations: 32.84 kB / 499.9 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1129, allocations: 4 kB / 499.9 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.113, allocations: 30.72 kB / 499.9 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.113, allocations: 0 / 499.9 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003991/0.1134, allocations: 157.4 kB / 0.4883 GB, free: 236 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1134, allocations: 59.41 kB / 0.4884 GB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1136, allocations: 149.1 kB / 0.4885 GB, free: 16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1136, allocations: 29.7 kB / 0.4886 GB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.1137, allocations: 96.09 kB / 0.4887 GB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1137, allocations: 23.78 kB / 0.4887 GB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.1138, allocations: 29.7 kB / 0.4887 GB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1139, allocations: 330.8 kB / 0.489 GB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.114, allocations: 31.98 kB / 0.4891 GB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-05/0.1141, allocations: 43.91 kB / 0.4891 GB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1143, allocations: 80.83 kB / 0.4892 GB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1143, allocations: 0 / 0.4892 GB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002587/0.1145, allocations: 137.4 kB / 0.4893 GB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1145, allocations: 4 kB / 0.4893 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1145, allocations: 4 kB / 0.4893 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1145, allocations: 4 kB / 0.4893 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1147, allocations: 23.97 kB / 0.4893 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1147, allocations: 3.938 kB / 0.4893 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1147, allocations: 11.94 kB / 0.4894 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.1148, allocations: 23.95 kB / 0.4894 GB, free: 15.1 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.0001024/0.1149, allocations: 121.2 kB / 0.4895 GB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1149, allocations: 11.95 kB / 0.4895 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.115, allocations: 16.7 kB / 0.4895 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.115, allocations: 8 kB / 0.4895 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.115, allocations: 0 / 0.4895 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.115, allocations: 3.938 kB / 0.4895 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.1152, allocations: 172.6 kB / 0.4897 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1152, allocations: 4 kB / 0.4897 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1153, allocations: 15.97 kB / 0.4897 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1153, allocations: 0 / 0.4897 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1153, allocations: 4 kB / 0.4897 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1153, allocations: 0 / 0.4897 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1153, allocations: 0 / 0.4897 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.1156, allocations: 227.6 kB / 0.4899 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1157, allocations: 23.88 kB / 0.49 GB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1157, allocations: 7.984 kB / 0.49 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.1158, allocations: 0 / 0.49 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1158, allocations: 11.97 kB / 0.49 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.1159, allocations: 31.89 kB / 0.49 GB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.267e-05/0.116, allocations: 113.5 kB / 0.4901 GB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.116, allocations: 0 / 0.4901 GB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1163, allocations: 51.86 kB / 0.4902 GB, free: 14.23 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.0005442/0.1168, allocations: 248.8 kB / 0.4904 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1171, allocations: 83.89 kB / 0.4905 GB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1171, allocations: 0 / 0.4905 GB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.1172, allocations: 39.97 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1174, allocations: 10.34 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.1179, allocations: 235.6 kB / 0.4908 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1182, allocations: 0.7002 MB / 0.4914 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.1183, allocations: 23.42 kB / 0.4915 GB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1183, allocations: 0 / 0.4915 GB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005063/0.1233, allocations: 2.449 MB / 0.4939 GB, free: 10.44 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.479892221046612] Failed to read output from testmodel.py, exit status != 0: 0.13086561392992735 0.31410769399999994 0.20030815600000001 Calling exit ...