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.001416/0.001416, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001501/0.001501, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.346/1.346, allocations: 225.6 MB / 249.1 MB, free: 3.613 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002789/0.1083, allocations: 1.538 MB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.1106, allocations: 1.45 MB / 420.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.1107, allocations: 3.938 kB / 420.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.784e-05/0.1108, allocations: 11.81 kB / 420.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.1109, allocations: 27.73 kB / 420.8 MB, free: 9.559 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.0009505/0.1118, allocations: 390.8 kB / 421.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.112, allocations: 127.6 kB / 421.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.112, allocations: 5.5 kB / 421.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.1121, allocations: 51.78 kB / 421.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006019/0.1127, allocations: 92.02 kB / 421.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1127, allocations: 12 kB / 421.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006149/0.1133, allocations: 423.2 kB / 421.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.1134, allocations: 39.84 kB / 421.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.1135, allocations: 63.59 kB / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.114, allocations: 394.7 kB / 422.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.114, allocations: 4 kB / 422.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.114, allocations: 0 / 422.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.114, allocations: 0 / 422.4 MB, free: 7.988 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.0008234/0.1149, allocations: 0.5174 MB / 422.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1149, allocations: 15.97 kB / 422.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.115, allocations: 42.69 kB / 423 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1152, allocations: 32.83 kB / 423 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1154, allocations: 212.5 kB / 423.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1154, allocations: 4 kB / 423.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1154, allocations: 12 kB / 423.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.1157, allocations: 138.1 kB / 423.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1157, allocations: 0 / 423.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1157, allocations: 3.984 kB / 423.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1157, allocations: 0 / 423.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.116, allocations: 71.89 kB / 423.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.1167, allocations: 0.5438 MB / 424 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1171, allocations: 147.9 kB / 424.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.1172, allocations: 66.55 kB / 424.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1172, allocations: 7.984 kB / 424.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.1175, allocations: 149.9 kB / 424.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.1175, allocations: 3.938 kB / 424.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005836/0.1181, allocations: 261.3 kB / 424.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.1181, allocations: 114.8 kB / 424.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1183, allocations: 195.1 kB / 424.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.1184, allocations: 49.69 kB / 424.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1185, allocations: 116.5 kB / 425 MB, free: 5.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1185, allocations: 43.69 kB / 425.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.1186, allocations: 49.7 kB / 425.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1187, allocations: 338.9 kB / 425.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1189, allocations: 99.94 kB / 425.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.1192, allocations: 147.2 kB / 425.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.1196, allocations: 228.2 kB / 425.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1196, allocations: 0 / 425.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005485/0.1201, allocations: 313.3 kB / 426.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1201, allocations: 11.88 kB / 426.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.1201, allocations: 4.094 kB / 426.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1202, allocations: 4 kB / 426.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1203, allocations: 31.92 kB / 426.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1203, allocations: 480 / 426.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.1204, allocations: 23.88 kB / 426.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.1204, allocations: 8 kB / 426.3 MB, free: 3.719 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,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],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]) * 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.0001288/0.1206, allocations: 142.5 kB / 426.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1206, allocations: 31.73 kB / 426.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.1206, allocations: 21.39 kB / 426.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1206, allocations: 0 / 426.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1206, allocations: 4 kB / 426.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1206, allocations: 0 / 426.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1209, allocations: 209.5 kB / 426.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1209, allocations: 0 / 426.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.1209, allocations: 15.98 kB / 426.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1209, allocations: 7.938 kB / 426.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1209, allocations: 0 / 426.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1209, allocations: 8 kB / 426.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1209, allocations: 0 / 426.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1213, allocations: 244.7 kB / 427 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1214, allocations: 96.97 kB / 427.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1214, allocations: 15.92 kB / 427.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.1215, allocations: 8 kB / 427.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.1216, allocations: 15.98 kB / 427.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1216, allocations: 4.094 kB / 427.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1217, allocations: 141.2 kB / 427.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1217, allocations: 96 / 427.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.122, allocations: 135.5 kB / 427.4 MB, free: 2.535 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,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.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.001463/0.1235, allocations: 1.054 MB / 428.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.1239, allocations: 192 kB / 428.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1239, allocations: 0 / 428.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1241, allocations: 63.89 kB / 428.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.1243, allocations: 17.89 kB / 428.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.1271, allocations: 2.304 MB / 431 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1275, allocations: 0.7201 MB / 431.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.095e-05/0.1275, allocations: 29.38 kB / 431.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.1276, allocations: 47.42 kB / 431.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1276, allocations: 0 / 431.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.1563, allocations: 5.444 MB / 437.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.594, allocations: 11.22 kB / 437.3 MB, free: 8.605 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] 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: 11.077925109770149]