Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.001685/0.001685, allocations: 74.11 kB / 21.24 MB, free: 0.5547 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.001959/0.001959, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.582/1.582, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 55.52 kB / 325.6 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1094, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003008/0.1124, allocations: 1.524 MB / 380.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.115, allocations: 1.393 MB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.115, allocations: 0 / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.1151, allocations: 15.8 kB / 381.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.252e-05/0.1152, allocations: 27.8 kB / 381.9 MB, free: 12.66 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.001087/0.1163, allocations: 402.8 kB / 382.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1165, allocations: 135.5 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.1166, allocations: 9.672 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.1167, allocations: 59.7 kB / 382.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006393/0.1173, allocations: 89.52 kB / 382.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1173, allocations: 12 kB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.1181, allocations: 435.1 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1181, allocations: 35.91 kB / 383 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.1182, allocations: 47.72 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.1188, allocations: 410.6 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1189, allocations: 0 / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1189, allocations: 0 / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1189, allocations: 3.938 kB / 383.5 MB, free: 11.05 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.0007694/0.1196, allocations: 456.7 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1197, allocations: 12.03 kB / 383.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1199, allocations: 28.83 kB / 384 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1201, allocations: 151.9 kB / 384.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1201, allocations: 8.375 kB / 384.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1201, allocations: 8.125 kB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.1204, allocations: 135.3 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1204, allocations: 0 / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1204, allocations: 3.984 kB / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1204, allocations: 0 / 384.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.1206, allocations: 75.88 kB / 384.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.1213, allocations: 472.8 kB / 384.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.1218, allocations: 139.7 kB / 384.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1219, allocations: 62.61 kB / 385 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.122, allocations: 7.938 kB / 385 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.1222, allocations: 145.9 kB / 385.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.1222, allocations: 0 / 385.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006207/0.1229, allocations: 253.8 kB / 385.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.123, allocations: 126.9 kB / 385.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1232, allocations: 195.2 kB / 385.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.1232, allocations: 45.69 kB / 385.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.1233, allocations: 108.6 kB / 385.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.1234, allocations: 47.62 kB / 385.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.1235, allocations: 61.67 kB / 386 MB, free: 8.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1236, allocations: 334.7 kB / 386.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1238, allocations: 103.9 kB / 386.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.124, allocations: 135.4 kB / 386.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.1245, allocations: 228.3 kB / 386.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1245, allocations: 0 / 386.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005506/0.125, allocations: 305.3 kB / 387 MB, free: 7.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1251, allocations: 4 kB / 387 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1251, allocations: 4.094 kB / 387.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1251, allocations: 4 kB / 387.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1253, allocations: 27.97 kB / 387.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1253, allocations: 7.938 kB / 387.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1254, allocations: 23.84 kB / 387.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1254, allocations: 11.92 kB / 387.1 MB, free: 7.137 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.0001591/0.1256, allocations: 146.5 kB / 387.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1256, allocations: 19.91 kB / 387.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.1256, allocations: 21.39 kB / 387.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1256, allocations: 4.094 kB / 387.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1256, allocations: 3.984 kB / 387.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1256, allocations: 0 / 387.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1258, allocations: 153.2 kB / 387.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1258, allocations: 0 / 387.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.1259, allocations: 11.98 kB / 387.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1259, allocations: 0 / 387.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1259, allocations: 4 kB / 387.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1259, allocations: 3.938 kB / 387.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1259, allocations: 8 kB / 387.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.1264, allocations: 250.4 kB / 387.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.1264, allocations: 19.84 kB / 387.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1264, allocations: 8 kB / 387.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1265, allocations: 7.984 kB / 387.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.1265, allocations: 15.98 kB / 387.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1266, allocations: 7.984 kB / 387.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1267, allocations: 145.1 kB / 387.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1267, allocations: 4 kB / 387.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.1272, allocations: 119.7 kB / 388.1 MB, free: 6.137 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.0008025/0.128, allocations: 336.2 kB / 388.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.1285, allocations: 187.9 kB / 388.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1285, allocations: 4 kB / 388.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1286, allocations: 55.91 kB / 388.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.1288, allocations: 12.25 kB / 388.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.1294, allocations: 292.8 kB / 388.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1295, allocations: 110.6 kB / 389 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.1296, allocations: 25.45 kB / 389.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.1296, allocations: 20.5 kB / 389.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1296, allocations: 4 kB / 389.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Templates: time 0.008513/0.1381, allocations: 3.628 MB / 392.7 MB, free: 1.473 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.45565598201938]