Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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.001715/0.001715, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002021/0.002021, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04515/0.04515, allocations: 3.936 MB / 317.1 MB, free: 15.12 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.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003271/0.003271, allocations: 67.89 kB / 440.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1074, allocations: 54.15 MB / 495.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002759/0.1102, allocations: 1.518 MB / 496.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1123, allocations: 1.106 MB / 497.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.1124, allocations: 0 / 497.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.1126, allocations: 27.73 kB / 497.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1127, allocations: 15.8 kB / 497.7 MB, free: 2.234 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008342/0.1135, allocations: 267.2 kB / 498 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1137, allocations: 163.6 kB / 498.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.1138, allocations: 9.297 kB / 498.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1139, allocations: 59.83 kB / 498.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.114, allocations: 59.69 kB / 498.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1141, allocations: 8 kB / 498.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.1145, allocations: 283.5 kB / 498.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1145, allocations: 19.92 kB / 498.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.1146, allocations: 39.8 kB / 498.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.115, allocations: 291 kB / 498.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.115, allocations: 0 / 498.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.115, allocations: 8 kB / 498.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.115, allocations: 0 / 498.9 MB, free: 1.047 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001664/0.1167, allocations: 1.25 MB / 0.4885 GB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1167, allocations: 12.02 kB / 0.4885 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.1171, allocations: 44.8 kB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1174, allocations: 159 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1174, allocations: 8.375 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1174, allocations: 8.375 kB / 0.4887 GB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.1178, allocations: 215 kB / 0.4889 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1178, allocations: 4 kB / 0.4889 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1179, allocations: 4 kB / 0.4889 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1179, allocations: 0 / 0.4889 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.1183, allocations: 181.6 kB / 0.4891 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1188, allocations: 288.3 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.1192, allocations: 196.1 kB / 0.4895 GB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.1195, allocations: 154.5 kB / 0.4897 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1195, allocations: 0 / 0.4897 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.12, allocations: 338 kB / 0.49 GB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.12, allocations: 0 / 0.49 GB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001147/0.1212, allocations: 0.5632 MB / 0.4905 GB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1212, allocations: 85.11 kB / 0.4906 GB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1214, allocations: 168.9 kB / 0.4908 GB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1214, allocations: 29.7 kB / 0.4908 GB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1215, allocations: 96.53 kB / 0.4909 GB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.1215, allocations: 39.67 kB / 0.4909 GB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.1216, allocations: 49.66 kB / 0.491 GB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1218, allocations: 338.7 kB / 0.4913 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.1221, allocations: 133.6 kB / 0.4914 GB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.1223, allocations: 140.4 kB / 0.4916 GB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.1228, allocations: 276.1 kB / 0.4918 GB, free: 12.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1228, allocations: 0 / 0.4918 GB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006408/0.1235, allocations: 350.3 kB / 0.4922 GB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.1235, allocations: 49.67 kB / 0.4922 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1235, allocations: 0 / 0.4922 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1235, allocations: 0 / 0.4922 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1237, allocations: 23.98 kB / 0.4922 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1237, allocations: 0 / 0.4922 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1238, allocations: 23.94 kB / 0.4923 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.1238, allocations: 15.97 kB / 0.4923 GB, free: 11.57 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: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001806/0.124, allocations: 195.4 kB / 0.4925 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.1241, allocations: 19.91 kB / 0.4925 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.1241, allocations: 13.47 kB / 0.4925 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1241, allocations: 7.922 kB / 0.4925 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1241, allocations: 3.938 kB / 0.4925 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1241, allocations: 0 / 0.4925 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1243, allocations: 153.1 kB / 0.4927 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1243, allocations: 0 / 0.4927 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1244, allocations: 11.98 kB / 0.4927 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1244, allocations: 8 kB / 0.4927 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1244, allocations: 7.984 kB / 0.4927 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1244, allocations: 0 / 0.4927 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1244, allocations: 0 / 0.4927 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.1257, allocations: 0.659 MB / 0.4933 GB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.1257, allocations: 11.94 kB / 0.4933 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.1258, allocations: 24.05 kB / 0.4934 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1259, allocations: 15.98 kB / 0.4934 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.1259, allocations: 11.98 kB / 0.4934 GB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.126, allocations: 24.12 kB / 0.4934 GB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1261, allocations: 124.2 kB / 0.4935 GB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1261, allocations: 0 / 0.4935 GB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000376/0.1264, allocations: 91.8 kB / 0.4936 GB, free: 10.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0006134/0.1271, allocations: 253.2 kB / 0.4939 GB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.1278, allocations: 434.6 kB / 0.4943 GB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1278, allocations: 0 / 0.4943 GB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.1282, allocations: 264.9 kB / 0.4945 GB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1285, allocations: 19.94 kB / 0.4945 GB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.1293, allocations: 450.8 kB / 0.495 GB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.329e-05/0.1294, allocations: 101 kB / 0.4951 GB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1295, allocations: 15.44 kB / 0.4951 GB, free: 8.551 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1295, allocations: 0 / 0.4951 GB, free: 8.551 MB / 366.1 MB Notification: Performance of Templates: time 0.005885/0.1354, allocations: 3.191 MB / 0.4982 GB, free: 5.371 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.18842092808336] Failed to read output from testmodel.py, exit status != 0: 0.144560762681067 0.15880058899999994 0.04059228 Calling exit ...