Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 108 kB / 18.4 MB, free: 4.703 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.001668/0.001669, allocations: 194.3 kB / 19.33 MB, free: 3.781 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.568/1.568, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001331/0.001331, allocations: 51.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002924/0.1066, allocations: 1.526 MB / 377.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1091, allocations: 1.451 MB / 378.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.1092, allocations: 4 kB / 378.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1093, allocations: 15.8 kB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/0.1095, allocations: 27.78 kB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.1106, allocations: 386.8 kB / 379.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1108, allocations: 135.6 kB / 379.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.1109, allocations: 5.5 kB / 379.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.111, allocations: 59.77 kB / 379.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.1111, allocations: 75.61 kB / 379.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1111, allocations: 12 kB / 379.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.1118, allocations: 411.3 kB / 379.9 MB, free: 492 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.1119, allocations: 43.83 kB / 379.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.112, allocations: 67.59 kB / 380 MB, free: 380 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2108/0.3228, allocations: 406.6 kB / 380.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.3229, allocations: 4.781 kB / 380.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3229, allocations: 0 / 380.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.323, allocations: 0 / 380.4 MB, free: 10.11 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001031/0.324, allocations: 0.5097 MB / 380.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3241, allocations: 9.625 kB / 380.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.3243, allocations: 30.92 kB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3245, allocations: 207 kB / 381.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3245, allocations: 7.312 kB / 381.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3245, allocations: 9.25 kB / 381.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.3248, allocations: 132.1 kB / 381.3 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3248, allocations: 3.938 kB / 381.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3249, allocations: 3.25 kB / 381.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3249, allocations: 1.281 kB / 381.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.3251, allocations: 67.03 kB / 381.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.3258, allocations: 0.5458 MB / 381.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.3262, allocations: 154 kB / 382.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3263, allocations: 66.02 kB / 382.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3264, allocations: 4.234 kB / 382.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.3267, allocations: 154.5 kB / 382.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3267, allocations: 0 / 382.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006064/0.3273, allocations: 256 kB / 382.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3274, allocations: 117.1 kB / 382.7 MB, free: 8.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3276, allocations: 197.4 kB / 382.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.3277, allocations: 48.94 kB / 382.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.3277, allocations: 103.6 kB / 383 MB, free: 8.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.3278, allocations: 49.42 kB / 383.1 MB, free: 8.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.3279, allocations: 56.38 kB / 383.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.3279, allocations: 335.9 kB / 383.4 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.3282, allocations: 98.33 kB / 383.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3285, allocations: 151.3 kB / 383.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.3289, allocations: 225.9 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3289, allocations: 1.344 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006584/0.3296, allocations: 308.1 kB / 384.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3296, allocations: 8.938 kB / 384.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3296, allocations: 4.938 kB / 384.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3296, allocations: 2.812 kB / 384.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3298, allocations: 32.22 kB / 384.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3298, allocations: 2.625 kB / 384.3 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.3299, allocations: 27.97 kB / 384.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.33, allocations: 11.3 kB / 384.3 MB, free: 7.949 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001333/0.3301, allocations: 156.6 kB / 384.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3301, allocations: 15.11 kB / 384.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.3302, allocations: 17.58 kB / 384.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3302, allocations: 1.125 kB / 384.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3302, allocations: 1.062 kB / 384.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3302, allocations: 4.906 kB / 384.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3304, allocations: 219.8 kB / 384.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3304, allocations: 6.453 kB / 384.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.3305, allocations: 12.86 kB / 384.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3305, allocations: 1.5 kB / 384.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3305, allocations: 2.875 kB / 384.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3305, allocations: 2.656 kB / 384.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3305, allocations: 0 / 384.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.3309, allocations: 240.3 kB / 385 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.331, allocations: 96.28 kB / 385 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.331, allocations: 10.2 kB / 385.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.3311, allocations: 4.906 kB / 385.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3312, allocations: 14.56 kB / 385.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3312, allocations: 4.188 kB / 385.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3313, allocations: 142.9 kB / 385.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 5.344 kB / 385.2 MB, free: 7.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.3318, allocations: 128.8 kB / 385.4 MB, free: 7.305 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007608/0.3326, allocations: 356.6 kB / 385.7 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.3331, allocations: 197.5 kB / 385.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3331, allocations: 1.344 kB / 385.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3333, allocations: 73.2 kB / 386 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.3335, allocations: 9.172 kB / 386 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.334, allocations: 302.9 kB / 386.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3342, allocations: 0.732 MB / 387 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.3343, allocations: 18.59 kB / 387 MB, free: 6.223 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3343, allocations: 0 / 387 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Templates: time 0.009089/0.3434, allocations: 4.026 MB / 391 MB, free: 5.785 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches