Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 112.5 kB / 18.36 MB, free: 4.84 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.001338/0.001338, allocations: 184.5 kB / 19.29 MB, free: 3.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 51.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09864, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003096/0.1018, allocations: 1.838 MB / 377.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1037, allocations: 1.009 MB / 378.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1039, allocations: 4 kB / 378.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.104, allocations: 23.73 kB / 378.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1042, allocations: 23.72 kB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.1049, allocations: 187.5 kB / 378.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1052, allocations: 227.4 kB / 379.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1054, allocations: 64.25 kB / 379.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1055, allocations: 95.67 kB / 379.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1056, allocations: 115.5 kB / 379.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.1057, allocations: 24 kB / 379.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.1059, allocations: 143.8 kB / 379.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.106, allocations: 55.83 kB / 379.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1061, allocations: 107.4 kB / 379.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.1066, allocations: 307 kB / 380 MB, free: 392 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1066, allocations: 0 / 380 MB, free: 392 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1066, allocations: 0 / 380 MB, free: 392 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1066, allocations: 0 / 380 MB, free: 392 kB / 318.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.2029/0.3095, allocations: 0.5549 MB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3096, allocations: 10.62 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.3099, allocations: 36.05 kB / 380.6 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3101, allocations: 237.2 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.3102, allocations: 12.66 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.3102, allocations: 23.12 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.3107, allocations: 194.9 kB / 381 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3107, allocations: 2.719 kB / 381 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.3108, allocations: 8.688 kB / 381 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3108, allocations: 2.75 kB / 381 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.3112, allocations: 155.2 kB / 381.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009758/0.3122, allocations: 0.5696 MB / 381.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3133, allocations: 306 kB / 382 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.3136, allocations: 122.3 kB / 382.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3136, allocations: 2.656 kB / 382.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003997/0.314, allocations: 166.3 kB / 382.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.314, allocations: 0.6562 kB / 382.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001105/0.3151, allocations: 354.3 kB / 382.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3152, allocations: 65.48 kB / 382.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3155, allocations: 211.9 kB / 382.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.3155, allocations: 39.11 kB / 383 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.3156, allocations: 130.6 kB / 383.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.3157, allocations: 72.88 kB / 383.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3158, allocations: 69.8 kB / 383.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.3159, allocations: 331.1 kB / 383.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.3162, allocations: 133.1 kB / 383.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.3166, allocations: 164.9 kB / 383.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.3172, allocations: 266.1 kB / 384.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3173, allocations: 0.7656 kB / 384.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00079/0.3181, allocations: 379.4 kB / 384.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3181, allocations: 8.578 kB / 384.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3181, allocations: 1.312 kB / 384.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3181, allocations: 1.094 kB / 384.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.3184, allocations: 78.86 kB / 384.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3184, allocations: 5.5 kB / 384.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3186, allocations: 42.33 kB / 384.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.3187, allocations: 12.94 kB / 384.6 MB, free: 11.3 MB / 318.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.0001228/0.3188, allocations: 141.2 kB / 384.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.3188, allocations: 20.28 kB / 384.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.3189, allocations: 29.27 kB / 384.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3189, allocations: 1.281 kB / 384.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3189, allocations: 4.219 kB / 384.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3189, allocations: 1.219 kB / 384.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.32, allocations: 0.6409 MB / 385.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3201, allocations: 2 kB / 385.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.3203, allocations: 43.64 kB / 385.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3203, allocations: 1.594 kB / 385.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3203, allocations: 8.719 kB / 385.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3204, allocations: 0.6562 kB / 385.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3204, allocations: 0 / 385.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.3213, allocations: 493.1 kB / 386 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3214, allocations: 92.12 kB / 386.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3214, allocations: 9.219 kB / 386.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3216, allocations: 26.06 kB / 386.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.3217, allocations: 11.53 kB / 386.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3217, allocations: 7.766 kB / 386.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3219, allocations: 159 kB / 386.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3219, allocations: 0 / 386.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000371/0.3222, allocations: 76.56 kB / 386.4 MB, free: 10.23 MB / 318.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.0004258/0.3227, allocations: 213 kB / 386.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007653/0.3234, allocations: 278.5 kB / 386.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3235, allocations: 4.062 kB / 386.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.3238, allocations: 114.5 kB / 387 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3241, allocations: 37.34 kB / 387 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.325, allocations: 480.6 kB / 387.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3252, allocations: 0.7391 MB / 388.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.3253, allocations: 26.84 kB / 388.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3253, allocations: 9.094 kB / 388.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of Templates: time 0.006814/0.3321, allocations: 3.491 MB / 391.8 MB, free: 8.586 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches