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.001595/0.001595, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.002065/0.002065, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.579/1.579, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001231/0.001231, allocations: 55.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 46.62 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003013/0.119, allocations: 1.828 MB / 377 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1211, allocations: 1.271 MB / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.1212, allocations: 7.938 kB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1213, allocations: 23.73 kB / 378.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.1214, allocations: 23.73 kB / 378.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.1223, allocations: 323.1 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1226, allocations: 215.5 kB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1227, allocations: 72.25 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1228, allocations: 99.61 kB / 379 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.123, allocations: 111.5 kB / 379.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.123, allocations: 20 kB / 379.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.1235, allocations: 291.5 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.1235, allocations: 59.75 kB / 379.5 MB, free: 236 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1236, allocations: 99.47 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2261/0.3497, allocations: 391.8 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3498, allocations: 1.375 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3498, allocations: 2.953 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.3498, allocations: 0 / 380 MB, free: 10.23 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.001063/0.3509, allocations: 0.5767 MB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3509, allocations: 9.641 kB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.3512, allocations: 37.45 kB / 380.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3514, allocations: 232.8 kB / 380.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.3514, allocations: 16.38 kB / 380.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.3515, allocations: 25.98 kB / 380.9 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.352, allocations: 198.8 kB / 381 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.352, allocations: 5.312 kB / 381 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.352, allocations: 4.906 kB / 381.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.352, allocations: 3.719 kB / 381.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.3525, allocations: 154.6 kB / 381.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009385/0.3534, allocations: 0.5602 MB / 381.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3545, allocations: 305.9 kB / 382.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.3548, allocations: 117 kB / 382.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3548, allocations: 8.312 kB / 382.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.3552, allocations: 169.9 kB / 382.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.3553, allocations: 4.375 kB / 382.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001115/0.3564, allocations: 352.3 kB / 382.7 MB, free: 9.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3564, allocations: 63.5 kB / 382.8 MB, free: 9.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3566, allocations: 212 kB / 383 MB, free: 8.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3567, allocations: 43.75 kB / 383 MB, free: 8.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.3567, allocations: 128.2 kB / 383.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.3568, allocations: 72.98 kB / 383.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.3569, allocations: 68.5 kB / 383.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.357, allocations: 330.9 kB / 383.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.3573, allocations: 135.7 kB / 383.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.3577, allocations: 160.5 kB / 383.9 MB, free: 8.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.3583, allocations: 267.1 kB / 384.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3583, allocations: 3.281 kB / 384.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008002/0.3591, allocations: 380.2 kB / 384.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3591, allocations: 8.594 kB / 384.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3591, allocations: 1.25 kB / 384.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3592, allocations: 2.062 kB / 384.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3595, allocations: 70.33 kB / 384.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3595, allocations: 1.344 kB / 384.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3597, allocations: 48.92 kB / 384.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3597, allocations: 11.12 kB / 384.7 MB, free: 8.344 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.000125/0.3598, allocations: 149.5 kB / 384.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.3599, allocations: 20.03 kB / 384.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.3599, allocations: 23.06 kB / 384.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3599, allocations: 2.375 kB / 384.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.36, allocations: 5.625 kB / 384.9 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.36, allocations: 1.547 kB / 384.9 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.361, allocations: 0.6313 MB / 385.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.361, allocations: 1.344 kB / 385.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3613, allocations: 43.95 kB / 385.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3613, allocations: 3.578 kB / 385.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3613, allocations: 6.766 kB / 385.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3614, allocations: 1.531 kB / 385.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3614, allocations: 0.7031 kB / 385.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3624, allocations: 497 kB / 386 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.3625, allocations: 106.4 kB / 386.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3626, allocations: 9.016 kB / 386.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3627, allocations: 24.14 kB / 386.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.3628, allocations: 12.09 kB / 386.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3628, allocations: 6.062 kB / 386.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.363, allocations: 151.5 kB / 386.3 MB, free: 7.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 0 / 386.3 MB, free: 7.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006555/0.3636, allocations: 104.2 kB / 386.4 MB, free: 7.527 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.0006792/0.3643, allocations: 283.4 kB / 386.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007649/0.3651, allocations: 277.4 kB / 387 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3651, allocations: 4.062 kB / 387 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.3654, allocations: 110.8 kB / 387.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3658, allocations: 35.16 kB / 387.1 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.3666, allocations: 467.7 kB / 387.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.3668, allocations: 0.7343 MB / 388.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3669, allocations: 34.45 kB / 388.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.367, allocations: 23.14 kB / 388.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.367, allocations: 0 / 388.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Templates: time 0.009155/0.3762, allocations: 3.791 MB / 392.2 MB, free: 6.09 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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