Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001743/0.001743, 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.002052/0.002052, 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.656/1.656, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003287/0.1092, allocations: 1.851 MB / 419.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1116, allocations: 1.263 MB / 420.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.1117, allocations: 0 / 420.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.1118, allocations: 19.73 kB / 420.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.96e-05/0.1119, allocations: 31.73 kB / 421 MB, free: 9.438 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.0009504/0.1128, allocations: 319.1 kB / 421.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.1131, allocations: 211.5 kB / 421.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1133, allocations: 56.27 kB / 421.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1134, allocations: 99.55 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.114, allocations: 123.5 kB / 421.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.114, allocations: 20 kB / 421.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.1145, allocations: 291.5 kB / 422 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.1145, allocations: 59.81 kB / 422.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1146, allocations: 95.45 kB / 422.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.1152, allocations: 394.5 kB / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1152, allocations: 4 kB / 422.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1152, allocations: 0 / 422.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1153, allocations: 0 / 422.6 MB, free: 7.793 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001127/0.1164, allocations: 0.5773 MB / 423.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1164, allocations: 12.03 kB / 423.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.1165, allocations: 46.73 kB / 423.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.1168, allocations: 36.78 kB / 423.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.117, allocations: 248.3 kB / 423.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1171, allocations: 16 kB / 423.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.1171, allocations: 24 kB / 423.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1176, allocations: 210.2 kB / 423.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1176, allocations: 0 / 423.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1176, allocations: 4 kB / 423.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1177, allocations: 7.984 kB / 423.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.1181, allocations: 156.1 kB / 423.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1192, allocations: 0.571 MB / 424.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1202, allocations: 296.7 kB / 424.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.1205, allocations: 116.7 kB / 424.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1205, allocations: 0 / 424.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.1209, allocations: 167.2 kB / 425 MB, free: 5.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1209, allocations: 3.938 kB / 425.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001038/0.122, allocations: 357.3 kB / 425.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.122, allocations: 63.39 kB / 425.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.1223, allocations: 211.7 kB / 425.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.1223, allocations: 41.7 kB / 425.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1224, allocations: 132.6 kB / 425.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1225, allocations: 79.39 kB / 425.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1226, allocations: 65.62 kB / 426 MB, free: 4.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1228, allocations: 334.8 kB / 426.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.1232, allocations: 127.9 kB / 426.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.1236, allocations: 169.8 kB / 426.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.1242, allocations: 272.5 kB / 426.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1242, allocations: 4 kB / 426.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008299/0.1251, allocations: 377.2 kB / 427.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1251, allocations: 4 kB / 427.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1251, allocations: 4.031 kB / 427.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1251, allocations: 4 kB / 427.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.1254, allocations: 67.88 kB / 427.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.1254, allocations: 7.938 kB / 427.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1256, allocations: 35.81 kB / 427.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1256, allocations: 12 kB / 427.4 MB, free: 2.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001618/0.1258, allocations: 146.4 kB / 427.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1258, allocations: 23.8 kB / 427.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.1259, allocations: 21.88 kB / 427.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1259, allocations: 3.984 kB / 427.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1259, allocations: 3.938 kB / 427.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1259, allocations: 3.984 kB / 427.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1271, allocations: 0.6327 MB / 428.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1271, allocations: 0 / 428.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.1274, allocations: 43.95 kB / 428.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1274, allocations: 4 kB / 428.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1274, allocations: 7.984 kB / 428.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1274, allocations: 0 / 428.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1274, allocations: 3.938 kB / 428.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1284, allocations: 488.2 kB / 428.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1285, allocations: 100.9 kB / 428.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.1286, allocations: 8.062 kB / 428.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1288, allocations: 23.97 kB / 428.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1288, allocations: 11.98 kB / 428.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1288, allocations: 11.98 kB / 428.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.129, allocations: 147.2 kB / 429 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.129, allocations: 0 / 429 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.1294, allocations: 99.8 kB / 429.1 MB, free: 0.8984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002001/0.1314, allocations: 1.192 MB / 430.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007852/0.1322, allocations: 272.1 kB / 430.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1322, allocations: 0 / 430.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.1325, allocations: 111.8 kB / 430.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1328, allocations: 31.92 kB / 430.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.137, allocations: 2.806 MB / 433.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1374, allocations: 0.7398 MB / 434.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1376, allocations: 25.94 kB / 434.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1377, allocations: 71.41 kB / 434.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1377, allocations: 4 kB / 434.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.1687, allocations: 6.087 MB / 440.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.725, allocations: 6.438 kB / 440.5 MB, free: 5.578 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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: 12.91629071207717]