Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001536/0.001536, allocations: 185.2 kB / 19.33 MB, free: 3.762 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.492/1.492, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001163/0.001163, allocations: 47.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003315/0.1056, allocations: 1.834 MB / 377.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.108, allocations: 1.271 MB / 378.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1082, allocations: 4 kB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1083, allocations: 23.67 kB / 379 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.1084, allocations: 23.73 kB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.1094, allocations: 319 kB / 379.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.1096, allocations: 227.5 kB / 379.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1098, allocations: 64.25 kB / 379.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1099, allocations: 99.61 kB / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1101, allocations: 115.5 kB / 379.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.1101, allocations: 20 kB / 379.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.1106, allocations: 287.5 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.1107, allocations: 59.81 kB / 380.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.1108, allocations: 99.41 kB / 380.2 MB, free: 124 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2185/0.3293, allocations: 399.3 kB / 380.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3293, allocations: 2 kB / 380.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3293, allocations: 0 / 380.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3294, allocations: 0 / 380.6 MB, free: 10.28 MB / 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.001477/0.3308, allocations: 0.5709 MB / 381.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3309, allocations: 9.625 kB / 381.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.3312, allocations: 33.53 kB / 381.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3315, allocations: 238.6 kB / 381.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.3316, allocations: 16.53 kB / 381.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.3316, allocations: 22.22 kB / 381.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.3322, allocations: 195 kB / 381.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3322, allocations: 3.938 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3323, allocations: 8.922 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3323, allocations: 3.219 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.3328, allocations: 151.5 kB / 381.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3339, allocations: 0.5712 MB / 382.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.335, allocations: 303.5 kB / 382.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.3354, allocations: 112.2 kB / 382.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3354, allocations: 15.66 kB / 382.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.3359, allocations: 165.5 kB / 383 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.3359, allocations: 0.5 kB / 383 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001153/0.337, allocations: 361.8 kB / 383.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3371, allocations: 62.14 kB / 383.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3374, allocations: 206.5 kB / 383.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.3374, allocations: 41.16 kB / 383.7 MB, free: 8.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.3375, allocations: 129.4 kB / 383.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.3376, allocations: 69.47 kB / 383.9 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3377, allocations: 71.84 kB / 383.9 MB, free: 8.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.3378, allocations: 335.2 kB / 384.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.3382, allocations: 130.9 kB / 384.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.3386, allocations: 165.5 kB / 384.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.3393, allocations: 270.9 kB / 384.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3393, allocations: 0.6094 kB / 384.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009253/0.3403, allocations: 375.9 kB / 385.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3403, allocations: 10.47 kB / 385.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3403, allocations: 0.5625 kB / 385.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3403, allocations: 1.406 kB / 385.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.3407, allocations: 67.27 kB / 385.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3407, allocations: 2.938 kB / 385.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3409, allocations: 51.44 kB / 385.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.3409, allocations: 9.422 kB / 385.3 MB, free: 8.395 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.0001648/0.3411, allocations: 154.4 kB / 385.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3412, allocations: 20.06 kB / 385.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.3412, allocations: 21.69 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.3413, allocations: 3.062 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.3413, allocations: 2.188 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3413, allocations: 0.75 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.3425, allocations: 0.6392 MB / 386.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3426, allocations: 0.5625 kB / 386.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.3428, allocations: 49.09 kB / 386.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3428, allocations: 2.078 kB / 386.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.3429, allocations: 2.656 kB / 386.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3429, allocations: 1.969 kB / 386.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3429, allocations: 0 / 386.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.344, allocations: 488.9 kB / 386.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.3441, allocations: 102.7 kB / 386.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3441, allocations: 8.703 kB / 386.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3443, allocations: 25.7 kB / 386.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3444, allocations: 15.95 kB / 386.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.3444, allocations: 6.297 kB / 386.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.3445, allocations: 152.1 kB / 387 MB, free: 7.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3445, allocations: 0 / 387 MB, free: 7.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.3451, allocations: 110.6 kB / 387.1 MB, free: 7.574 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.0007012/0.3458, allocations: 282.9 kB / 387.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007885/0.3466, allocations: 276 kB / 387.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3466, allocations: 0 / 387.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.347, allocations: 117.5 kB / 387.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3473, allocations: 34.11 kB / 387.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009263/0.3483, allocations: 485.1 kB / 388.3 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3485, allocations: 0.7416 MB / 389 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3486, allocations: 33.09 kB / 389.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3486, allocations: 0 / 389.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of Templates: time 0.01041/0.359, allocations: 4.23 MB / 393.3 MB, free: 5.98 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches