Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001377/0.001377, allocations: 124.5 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.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.001619/0.001619, allocations: 211.2 kB / 20.75 MB, free: 2.312 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.456/1.456, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 55.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1081, allocations: 53.33 MB / 426.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003667/0.1117, allocations: 1.871 MB / 428.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1143, allocations: 1.306 MB / 429.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1145, allocations: 4 kB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.1147, allocations: 23.69 kB / 429.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1148, allocations: 35.7 kB / 429.6 MB, free: 1.559 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.001166/0.116, allocations: 311.1 kB / 429.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.1164, allocations: 211.5 kB / 430.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1166, allocations: 64.19 kB / 430.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1167, allocations: 99.61 kB / 430.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.1174, allocations: 120.2 kB / 430.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.841e-05/0.1175, allocations: 20 kB / 430.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.1181, allocations: 299.5 kB / 430.7 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.1182, allocations: 55.81 kB / 430.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1184, allocations: 103.4 kB / 430.8 MB, free: 312 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2302/0.3486, allocations: 382.9 kB / 431.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3486, allocations: 0.8438 kB / 431.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3486, allocations: 0 / 431.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.3486, allocations: 0 / 431.2 MB, free: 8.055 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.001216/0.3499, allocations: 0.5888 MB / 431.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3499, allocations: 9.75 kB / 431.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.652e-05/0.35, allocations: 55.7 kB / 431.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.3502, allocations: 36.64 kB / 431.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.3505, allocations: 242.6 kB / 432.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.3505, allocations: 20.73 kB / 432.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.3506, allocations: 24.09 kB / 432.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.3511, allocations: 203.7 kB / 432.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3511, allocations: 0 / 432.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.3511, allocations: 6 kB / 432.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3511, allocations: 3.281 kB / 432.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.3517, allocations: 162.8 kB / 432.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3527, allocations: 0.5907 MB / 433.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3538, allocations: 297.7 kB / 433.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.3541, allocations: 104.4 kB / 433.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3541, allocations: 1.844 kB / 433.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.3546, allocations: 165.5 kB / 433.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.3546, allocations: 0 / 433.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001093/0.3557, allocations: 362.5 kB / 434 MB, free: 6.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3557, allocations: 56.53 kB / 434.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3559, allocations: 223.4 kB / 434.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3559, allocations: 39.45 kB / 434.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.356, allocations: 135.2 kB / 434.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.356, allocations: 74.7 kB / 434.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3561, allocations: 71.69 kB / 434.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.3562, allocations: 334.1 kB / 435 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.3566, allocations: 132.5 kB / 435.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.357, allocations: 160.7 kB / 435.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.3577, allocations: 275.6 kB / 435.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3577, allocations: 0 / 435.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009423/0.3586, allocations: 381.3 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3586, allocations: 6.656 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3586, allocations: 3.375 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3587, allocations: 3.234 kB / 435.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.359, allocations: 68.48 kB / 436 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.359, allocations: 2.219 kB / 436 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3592, allocations: 43.92 kB / 436 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3592, allocations: 15.25 kB / 436 MB, free: 6.086 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.000153/0.3594, allocations: 142 kB / 436.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.3594, allocations: 20.55 kB / 436.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.3595, allocations: 22.92 kB / 436.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3595, allocations: 1.094 kB / 436.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3595, allocations: 2.078 kB / 436.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3595, allocations: 0.7969 kB / 436.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3607, allocations: 0.6312 MB / 436.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3607, allocations: 0 / 436.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3609, allocations: 47.41 kB / 436.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3609, allocations: 1.438 kB / 436.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.361, allocations: 5.297 kB / 436.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.361, allocations: 1.922 kB / 436.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.361, allocations: 0 / 436.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3621, allocations: 486 kB / 437.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3621, allocations: 100.7 kB / 437.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.3622, allocations: 11.97 kB / 437.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3623, allocations: 25.97 kB / 437.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.3624, allocations: 12 kB / 437.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3624, allocations: 8.031 kB / 437.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3626, allocations: 159.4 kB / 437.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3626, allocations: 0 / 437.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.3631, allocations: 102.5 kB / 437.8 MB, free: 5.273 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 (17): * Single equations (assignments): 15 * 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.001878/0.365, allocations: 1.173 MB / 439 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.3659, allocations: 273.6 kB / 439.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3659, allocations: 0 / 439.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.3663, allocations: 111.3 kB / 439.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3666, allocations: 22.09 kB / 439.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/0.372, allocations: 2.832 MB / 442.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3723, allocations: 0.7409 MB / 442.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3725, allocations: 28.33 kB / 443 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.3727, allocations: 77.36 kB / 443 MB, free: 2.348 MB / 350.1 MB Notification: Performance of SimCode: time 1.924e-06/0.3727, allocations: 0 / 443 MB, free: 2.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.4183, allocations: 6.081 MB / 449.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.055, allocations: 5.156 kB / 449.1 MB, free: 1.586 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.671626766910776]