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.001317/0.001317, allocations: 110.6 kB / 17.73 MB, free: 5.332 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.001381/0.001381, allocations: 190.9 kB / 18.66 MB, free: 4.406 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.57/1.57, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001143/0.001143, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1225, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00326/0.1258, allocations: 1.522 MB / 376.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1284, allocations: 1.454 MB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1285, allocations: 8 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1287, allocations: 7.875 kB / 378.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1288, allocations: 27.73 kB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009619/0.1297, allocations: 390.8 kB / 378.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1299, allocations: 135.6 kB / 378.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.13, allocations: 5.5 kB / 378.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.13, allocations: 63.75 kB / 378.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.1301, allocations: 67.69 kB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1302, allocations: 8 kB / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005704/0.1307, allocations: 423.3 kB / 379.2 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.1308, allocations: 31.86 kB / 379.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.507e-05/0.1309, allocations: 71.58 kB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2487/0.3796, allocations: 408.4 kB / 379.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.3797, allocations: 0 / 379.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3797, allocations: 0.875 kB / 379.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3797, allocations: 0 / 379.7 MB, free: 10.13 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.001047/0.3808, allocations: 0.5103 MB / 380.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3808, allocations: 10.31 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.3811, allocations: 28.61 kB / 380.3 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3813, allocations: 206.2 kB / 380.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.3813, allocations: 7.453 kB / 380.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3814, allocations: 17.05 kB / 380.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.3817, allocations: 127.3 kB / 380.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3817, allocations: 4.5 kB / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.3817, allocations: 2.266 kB / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3817, allocations: 1.375 kB / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.3819, allocations: 68.52 kB / 380.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.3827, allocations: 0.5441 MB / 381.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3831, allocations: 155.8 kB / 381.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3832, allocations: 67.17 kB / 381.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3832, allocations: 2.359 kB / 381.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.3835, allocations: 152.7 kB / 381.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3836, allocations: 5.172 kB / 381.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006038/0.3842, allocations: 251.7 kB / 381.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3842, allocations: 125.7 kB / 382 MB, free: 8.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3844, allocations: 196.5 kB / 382.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.3845, allocations: 46.06 kB / 382.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.3846, allocations: 107.8 kB / 382.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.3846, allocations: 43.84 kB / 382.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.3847, allocations: 62.62 kB / 382.4 MB, free: 8.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.3848, allocations: 332 kB / 382.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.385, allocations: 101.2 kB / 382.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.3853, allocations: 145.6 kB / 383 MB, free: 8.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.3857, allocations: 229.8 kB / 383.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3858, allocations: 6.938 kB / 383.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006257/0.3864, allocations: 300.4 kB / 383.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3864, allocations: 10 kB / 383.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3864, allocations: 0.9688 kB / 383.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3865, allocations: 2.531 kB / 383.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3866, allocations: 36.59 kB / 383.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3866, allocations: 2.312 kB / 383.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.3867, allocations: 26.98 kB / 383.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.3868, allocations: 13.41 kB / 383.6 MB, free: 7.977 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.0001271/0.3869, allocations: 153.7 kB / 383.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3869, allocations: 16.83 kB / 383.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.387, allocations: 14.86 kB / 383.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.387, allocations: 5.844 kB / 383.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.387, allocations: 1.688 kB / 383.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.387, allocations: 0 / 383.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3872, allocations: 218.1 kB / 384 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3872, allocations: 4 kB / 384 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.3873, allocations: 15.59 kB / 384 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3873, allocations: 4.281 kB / 384 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3873, allocations: 3.219 kB / 384 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3873, allocations: 1.094 kB / 384 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3873, allocations: 0.9688 kB / 384 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.3877, allocations: 247 kB / 384.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3878, allocations: 91.64 kB / 384.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3878, allocations: 12.09 kB / 384.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.3879, allocations: 6.797 kB / 384.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.388, allocations: 15.09 kB / 384.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.388, allocations: 4.125 kB / 384.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3881, allocations: 146.1 kB / 384.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3881, allocations: 0 / 384.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000549/0.3887, allocations: 132.8 kB / 384.7 MB, free: 7.336 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.0007421/0.3894, allocations: 346.2 kB / 385 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.3899, allocations: 197.9 kB / 385.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.3899, allocations: 4.188 kB / 385.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3901, allocations: 63.11 kB / 385.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.3903, allocations: 13.72 kB / 385.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.3908, allocations: 280.1 kB / 385.6 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3909, allocations: 0.7263 MB / 386.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.278e-05/0.391, allocations: 22.98 kB / 386.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3911, allocations: 21 kB / 386.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3911, allocations: 0 / 386.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of Templates: time 0.008578/0.3997, allocations: 3.65 MB / 390 MB, free: 5.953 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins/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