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.0007747/0.0007747, allocations: 75.7 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008094/0.0008094, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8649/0.8649, allocations: 177.1 MB / 204.2 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.214e-05, allocations: 4.672 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.001892/0.001904, allocations: 1.809 MB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.003264, allocations: 1.247 MB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.003335, allocations: 0 / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.003428, allocations: 19.73 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.003538, allocations: 35.66 kB / 327.7 MB, free: 12.66 MB / 298.7 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.0005665/0.004104, allocations: 330.8 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.004287, allocations: 219.4 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004409, allocations: 52.92 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004515, allocations: 135.7 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.004863, allocations: 106.3 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.004894, allocations: 20 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.005212, allocations: 319.3 kB / 328.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.005262, allocations: 55.83 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.005323, allocations: 75.73 kB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.005706, allocations: 430.8 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.005708, allocations: 0 / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005709, allocations: 0 / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005713, allocations: 0 / 329.4 MB, free: 10.96 MB / 298.7 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.0006917/0.006405, allocations: 0.5136 MB / 329.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006437, allocations: 12.03 kB / 329.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.0065, allocations: 50.69 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.006623, allocations: 36.78 kB / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.0068, allocations: 189.2 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.006822, allocations: 16.38 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.00685, allocations: 20.38 kB / 330.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.007137, allocations: 199.4 kB / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.007144, allocations: 4 kB / 330.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.007159, allocations: 8 kB / 330.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007164, allocations: 4 kB / 330.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.00742, allocations: 153.1 kB / 330.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.008069, allocations: 0.5114 MB / 331.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.00864, allocations: 306.5 kB / 331.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.008795, allocations: 112.7 kB / 331.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.008809, allocations: 0 / 331.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.009039, allocations: 177.8 kB / 331.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 9.92e-07/0.00904, allocations: 0 / 331.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.000557/0.009597, allocations: 356.3 kB / 332 MB, free: 8.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.009635, allocations: 63.34 kB / 332.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.009777, allocations: 219 kB / 332.3 MB, free: 7.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.009799, allocations: 37.7 kB / 332.4 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.009864, allocations: 132.6 kB / 332.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.009903, allocations: 71.38 kB / 332.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.009972, allocations: 73.67 kB / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.01005, allocations: 334.8 kB / 332.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.01025, allocations: 131.7 kB / 333.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.01045, allocations: 162.2 kB / 333.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.0108, allocations: 279.1 kB / 333.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.0108, allocations: 0 / 333.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004504/0.01125, allocations: 378.5 kB / 333.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.01126, allocations: 4 kB / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01127, allocations: 0 / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.01128, allocations: 4 kB / 333.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01143, allocations: 67.88 kB / 334 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01144, allocations: 4 kB / 334 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.01152, allocations: 51.78 kB / 334 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.01154, allocations: 8 kB / 334 MB, free: 6.141 MB / 298.7 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.0001004/0.01164, allocations: 153.5 kB / 334.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.01166, allocations: 19.86 kB / 334.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.0117, allocations: 21.97 kB / 334.2 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.0117, allocations: 7.984 kB / 334.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.0117, allocations: 0 / 334.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01171, allocations: 4 kB / 334.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.0123, allocations: 0.5598 MB / 334.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.0123, allocations: 0 / 334.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.01242, allocations: 51.95 kB / 334.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01242, allocations: 0 / 334.8 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01243, allocations: 4 kB / 334.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01243, allocations: 0 / 334.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.01243, allocations: 0 / 334.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.013, allocations: 487 kB / 335.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.01302, allocations: 27.84 kB / 335.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01304, allocations: 4 kB / 335.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.01313, allocations: 27.91 kB / 335.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01317, allocations: 19.91 kB / 335.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.01318, allocations: 8 kB / 335.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.665e-05/0.01327, allocations: 156.7 kB / 335.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01327, allocations: 0 / 335.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01352, allocations: 99.73 kB / 335.6 MB, free: 4.434 MB / 298.7 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.001036/0.01455, allocations: 1.204 MB / 336.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.01496, allocations: 267.6 kB / 337.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01496, allocations: 4.062 kB / 337.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.01513, allocations: 103.9 kB / 337.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.01533, allocations: 43.36 kB / 337.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.01783, allocations: 2.801 MB / 340.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.016e-05/0.01791, allocations: 133.5 kB / 340.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.01798, allocations: 25.94 kB / 340.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.01807, allocations: 76.47 kB / 340.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01807, allocations: 0 / 340.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.0358, allocations: 6.923 MB / 347.2 MB, free: 8.898 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.884, allocations: 3.094 kB / 347.2 MB, free: 8.898 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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: 8.998761790804565]