Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001772/0.001772, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.002421/0.002421, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.139/1.139, allocations: 177.1 MB / 205 MB, free: 5.648 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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.027e-06/4.027e-06, allocations: 4 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.447e-05/4.85e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002989/0.003037, allocations: 1.874 MB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.004939, allocations: 1.009 MB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.005084, allocations: 4 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005261, allocations: 23.67 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.005551, allocations: 39.59 kB / 275.9 MB, free: 14.58 MB / 266.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.0008011/0.006353, allocations: 203.2 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.006667, allocations: 215.4 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.006861, allocations: 48.55 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.007049, allocations: 143.7 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.00767, allocations: 109 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.007746, allocations: 20 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.008085, allocations: 155.7 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.008158, allocations: 55.81 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.00825, allocations: 75.73 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.008861, allocations: 255.1 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.008867, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.008869, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.008878, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.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.001032/0.00991, allocations: 0.5904 MB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.009961, allocations: 12.03 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.01019, allocations: 48.73 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.01043, allocations: 188.9 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.01046, allocations: 16.66 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.01051, allocations: 28.36 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.01079, allocations: 132.4 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.0108, allocations: 3.938 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.01082, allocations: 8 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01083, allocations: 7.938 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.01095, allocations: 56.45 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.01173, allocations: 0.5117 MB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.01215, allocations: 163.2 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01227, allocations: 47.67 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.0123, allocations: 0 / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.0125, allocations: 108.9 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.0125, allocations: 0 / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004537/0.01295, allocations: 192.8 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.01303, allocations: 59.39 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.01327, allocations: 255 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.01332, allocations: 41.7 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01346, allocations: 175.3 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.01353, allocations: 79.36 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.01364, allocations: 75.66 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.01381, allocations: 0.4962 MB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.01392, allocations: 59.7 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.01404, allocations: 83.33 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.01425, allocations: 133 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01425, allocations: 0 / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004185/0.01467, allocations: 239.9 kB / 281 MB, free: 9.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01469, allocations: 6.812 kB / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.0147, allocations: 3.984 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01472, allocations: 4 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.01492, allocations: 75.89 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01493, allocations: 0 / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.01502, allocations: 43.8 kB / 281.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.01504, allocations: 11.98 kB / 281.1 MB, free: 9.211 MB / 266.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.0001326/0.01517, allocations: 176.5 kB / 281.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.0152, allocations: 27.84 kB / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.01526, allocations: 21.95 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.01527, allocations: 0 / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01527, allocations: 0 / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01528, allocations: 0 / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.01583, allocations: 481.1 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01583, allocations: 0 / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01596, allocations: 47.89 kB / 281.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01596, allocations: 0 / 281.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.01598, allocations: 11.94 kB / 281.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01598, allocations: 0 / 281.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.01599, allocations: 3.984 kB / 281.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.01634, allocations: 343.7 kB / 282.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01636, allocations: 27.77 kB / 282.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.01639, allocations: 8 kB / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.01647, allocations: 15.98 kB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.01652, allocations: 15.97 kB / 282.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01654, allocations: 7.984 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.01662, allocations: 172.2 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01662, allocations: 0 / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.0169, allocations: 75.75 kB / 282.5 MB, free: 7.734 MB / 266.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.000496/0.01739, allocations: 220 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.01771, allocations: 150.9 kB / 282.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01771, allocations: 4.062 kB / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.0178, allocations: 59.59 kB / 282.9 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01809, allocations: 31.97 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.01888, allocations: 391.2 kB / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.01894, allocations: 75.98 kB / 283.4 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.595e-05/0.01904, allocations: 33.61 kB / 283.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01911, allocations: 28.48 kB / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01911, allocations: 0 / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of Templates: time 0.006384/0.02549, allocations: 3.042 MB / 286.5 MB, free: 3.719 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",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.020253696944565]