Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.001495/0.001495, allocations: 113 kB / 18.45 MB, free: 4.602 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.00161/0.00161, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.434/1.434, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 59.91 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 52.15 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002825/0.1113, allocations: 1.526 MB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1137, allocations: 1.45 MB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.1138, allocations: 4 kB / 421.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1139, allocations: 15.8 kB / 422 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.114, allocations: 19.8 kB / 422 MB, free: 9.086 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.001015/0.115, allocations: 394.7 kB / 422.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1152, allocations: 131.6 kB / 422.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.1152, allocations: 9.484 kB / 422.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.1153, allocations: 51.78 kB / 422.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.1159, allocations: 84.78 kB / 422.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.116, allocations: 12 kB / 422.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006867/0.1167, allocations: 427.2 kB / 423.1 MB, free: 8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.1167, allocations: 39.83 kB / 423.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.1168, allocations: 59.61 kB / 423.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.1174, allocations: 402.7 kB / 423.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1174, allocations: 0 / 423.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1174, allocations: 0 / 423.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1174, allocations: 0 / 423.6 MB, free: 7.508 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008939/0.1183, allocations: 0.5135 MB / 424.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1184, allocations: 8.031 kB / 424.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.1186, allocations: 36.77 kB / 424.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1188, allocations: 216.7 kB / 424.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1189, allocations: 8 kB / 424.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1189, allocations: 12 kB / 424.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.1192, allocations: 124.1 kB / 424.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1192, allocations: 0 / 424.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1192, allocations: 0 / 424.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1192, allocations: 0 / 424.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.1194, allocations: 67.95 kB / 424.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.1203, allocations: 0.5438 MB / 425.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1206, allocations: 147.7 kB / 425.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1208, allocations: 54.61 kB / 425.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1208, allocations: 8 kB / 425.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.1211, allocations: 150 kB / 425.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.1211, allocations: 0 / 425.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006004/0.1217, allocations: 257.8 kB / 425.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.1218, allocations: 122.7 kB / 425.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.122, allocations: 199.1 kB / 426 MB, free: 4.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.122, allocations: 49.67 kB / 426 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.1221, allocations: 116.4 kB / 426.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.1222, allocations: 43.69 kB / 426.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.1223, allocations: 61.7 kB / 426.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1224, allocations: 334.9 kB / 426.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1226, allocations: 95.94 kB / 426.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.1229, allocations: 147.2 kB / 426.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.1233, allocations: 228.2 kB / 427 MB, free: 3.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1233, allocations: 0 / 427 MB, free: 3.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005715/0.1239, allocations: 309.4 kB / 427.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1239, allocations: 6.031 kB / 427.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1239, allocations: 4 kB / 427.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1239, allocations: 16.02 kB / 427.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.1241, allocations: 31.92 kB / 427.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1241, allocations: 4 kB / 427.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1242, allocations: 23.81 kB / 427.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1242, allocations: 8 kB / 427.4 MB, free: 3.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.000151/0.1244, allocations: 150.4 kB / 427.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1244, allocations: 11.91 kB / 427.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.1244, allocations: 21.39 kB / 427.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1244, allocations: 7.938 kB / 427.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1244, allocations: 0 / 427.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1244, allocations: 0 / 427.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1247, allocations: 213.5 kB / 427.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1247, allocations: 4 kB / 427.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.1247, allocations: 11.98 kB / 427.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1247, allocations: 3.938 kB / 427.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1248, allocations: 4 kB / 427.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1248, allocations: 3.938 kB / 427.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1248, allocations: 4 kB / 427.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1252, allocations: 234.6 kB / 428.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1253, allocations: 100.9 kB / 428.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1253, allocations: 4 kB / 428.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1254, allocations: 19.92 kB / 428.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.1255, allocations: 15.92 kB / 428.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1255, allocations: 4 kB / 428.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1256, allocations: 141.2 kB / 428.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1256, allocations: 0 / 428.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.126, allocations: 127.6 kB / 428.5 MB, free: 2.141 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007786/0.1268, allocations: 337.4 kB / 428.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00049/0.1273, allocations: 195.9 kB / 429 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1273, allocations: 0 / 429 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1275, allocations: 59.95 kB / 429.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.1277, allocations: 14.44 kB / 429.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.1283, allocations: 310.7 kB / 429.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1286, allocations: 0.7162 MB / 430.1 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.1287, allocations: 19.44 kB / 430.1 MB, free: 480 kB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1287, allocations: 0 / 430.1 MB, free: 480 kB / 350.1 MB Notification: Performance of Templates: time 0.007092/0.1358, allocations: 3.862 MB / 434 MB, free: 12.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6802886868827045]