Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 93.97 kB / 17.31 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009339/0.0009338, allocations: 179.2 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.3 MB / 242.3 MB, free: 15.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002186/0.0002187, allocations: 7.938 kB / 302.1 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07114/0.07137, allocations: 50.43 MB / 352.5 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001666/0.07305, allocations: 1.555 MB / 354.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.07453, allocations: 0.9628 MB / 355 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.07462, allocations: 0 / 355 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.07471, allocations: 15.86 kB / 355 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.07486, allocations: 23.84 kB / 355.1 MB, free: 1.07 MB / 286.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.0004437/0.07531, allocations: 155.7 kB / 355.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.07553, allocations: 199.5 kB / 355.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.07567, allocations: 68.12 kB / 355.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.07577, allocations: 75.62 kB / 355.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.07625, allocations: 109.6 kB / 355.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.07629, allocations: 8 kB / 355.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.07649, allocations: 107.9 kB / 355.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.07655, allocations: 47.77 kB / 355.8 MB, free: 324 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.07665, allocations: 109.1 kB / 355.9 MB, free: 208 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.07687, allocations: 199.8 kB / 356.1 MB, free: 8 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.07688, allocations: 4 kB / 356.1 MB, free: 4 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.07689, allocations: 0 / 356.1 MB, free: 4 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.0769, allocations: 0 / 356.1 MB, free: 4 kB / 286.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.0009608/0.07786, allocations: 0.5428 MB / 356.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.0779, allocations: 12.03 kB / 356.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.0781, allocations: 40.64 kB / 356.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.07833, allocations: 229.6 kB / 356.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.07837, allocations: 20.22 kB / 357 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.07842, allocations: 31.92 kB / 357 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.0789, allocations: 218.8 kB / 357.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.07892, allocations: 0 / 357.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.07895, allocations: 11.98 kB / 357.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.07896, allocations: 4 kB / 357.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.07946, allocations: 180.4 kB / 357.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.08041, allocations: 0.5824 MB / 358 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.08152, allocations: 374.6 kB / 358.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.08186, allocations: 136.8 kB / 358.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.08188, allocations: 4 kB / 358.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.08229, allocations: 191.2 kB / 358.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.0823, allocations: 0 / 358.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001035/0.08334, allocations: 409.1 kB / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.08339, allocations: 59.41 kB / 359.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.08359, allocations: 207.8 kB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.08364, allocations: 45.69 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.08372, allocations: 128.6 kB / 359.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.08378, allocations: 71 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.08384, allocations: 41.7 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.08394, allocations: 334.8 kB / 359.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.08431, allocations: 147.9 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.08469, allocations: 182.2 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.08537, allocations: 312.6 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.08538, allocations: 0 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008441/0.08623, allocations: 411.1 kB / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.08625, allocations: 4 kB / 361 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.08626, allocations: 0 / 361 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.08628, allocations: 4 kB / 361 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.0866, allocations: 83.83 kB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.08662, allocations: 7.984 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.08681, allocations: 43.73 kB / 361.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.08684, allocations: 15.94 kB / 361.1 MB, free: 10.76 MB / 302.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.0001297/0.08697, allocations: 145.6 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.08701, allocations: 19.72 kB / 361.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.08707, allocations: 25.86 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.08708, allocations: 4 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.08709, allocations: 0 / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0871, allocations: 0 / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.08824, allocations: 0.6828 MB / 362 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.08826, allocations: 0 / 362 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.08852, allocations: 47.97 kB / 362 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.08854, allocations: 3.938 kB / 362 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.08857, allocations: 15.98 kB / 362.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.08857, allocations: 0 / 362.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.08858, allocations: 0 / 362.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.08964, allocations: 0.5485 MB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.0897, allocations: 100.8 kB / 362.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.08974, allocations: 8.062 kB / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.08995, allocations: 27.97 kB / 362.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.09, allocations: 15.98 kB / 362.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.09002, allocations: 8 kB / 362.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.09015, allocations: 151.2 kB / 362.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09016, allocations: 4 kB / 362.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.09049, allocations: 63.91 kB / 363 MB, free: 8.805 MB / 302.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.0003315/0.09083, allocations: 195.4 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000768/0.09161, allocations: 327.7 kB / 363.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09162, allocations: 0 / 363.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.09196, allocations: 135.9 kB / 363.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.0923, allocations: 37.64 kB / 363.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.09313, allocations: 0.5633 MB / 364.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.09338, allocations: 0.7398 MB / 365 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.09347, allocations: 23.42 kB / 365 MB, free: 6.762 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09348, allocations: 0 / 365 MB, free: 6.762 MB / 302.1 MB Notification: Performance of Templates: time 0.005091/0.09857, allocations: 3.311 MB / 368.3 MB, free: 3.449 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches