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.001466/0.001466, allocations: 109.4 kB / 18.34 MB, free: 4.73 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.001796/0.001796, allocations: 192.1 kB / 19.28 MB, free: 3.797 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.4/1.4, allocations: 205.1 MB / 225.2 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.00141/0.00141, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09787, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003816/0.1018, allocations: 1.522 MB / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1046, allocations: 1.462 MB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1048, allocations: 4 kB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1049, allocations: 11.81 kB / 331.7 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.105, allocations: 23.78 kB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1063, allocations: 386.8 kB / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1065, allocations: 135.6 kB / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.1066, allocations: 5.5 kB / 332.3 MB, free: 192 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.1067, allocations: 63.69 kB / 332.3 MB, free: 128 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1067, allocations: 71.62 kB / 332.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1068, allocations: 8 kB / 332.4 MB, free: 48 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.1074, allocations: 427.3 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.1075, allocations: 31.91 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.1076, allocations: 71.59 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.1082, allocations: 410.9 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1082, allocations: 0 / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1082, allocations: 0 / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1082, allocations: 4 kB / 333.3 MB, free: 15.12 MB / 286.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.0009426/0.1092, allocations: 0.5065 MB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1092, allocations: 8.031 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.1095, allocations: 32.64 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1098, allocations: 208.9 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1098, allocations: 8.375 kB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1098, allocations: 8.359 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1101, allocations: 136.4 kB / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1102, allocations: 4 kB / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1102, allocations: 0 / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1102, allocations: 0 / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1104, allocations: 71.88 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.1113, allocations: 0.5399 MB / 334.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.1116, allocations: 155.7 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1118, allocations: 62.61 kB / 335 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1118, allocations: 7.938 kB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.1122, allocations: 153.9 kB / 335.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.1122, allocations: 0 / 335.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006252/0.1128, allocations: 261.4 kB / 335.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.1129, allocations: 110.8 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1131, allocations: 199 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.1132, allocations: 49.69 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.1133, allocations: 112.5 kB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.1133, allocations: 47.47 kB / 336 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.1134, allocations: 53.83 kB / 336 MB, free: 12.15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1136, allocations: 338.8 kB / 336.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1138, allocations: 99.94 kB / 336.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.114, allocations: 135.2 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.1144, allocations: 231.7 kB / 336.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1144, allocations: 3.938 kB / 336.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005147/0.1149, allocations: 305.2 kB / 337.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1149, allocations: 11.31 kB / 337.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1149, allocations: 8.469 kB / 337.1 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.115, allocations: 0 / 337.1 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1151, allocations: 35.97 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1152, allocations: 3.938 kB / 337.2 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.1152, allocations: 15.84 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1153, allocations: 12 kB / 337.2 MB, free: 10.93 MB / 286.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.0001456/0.1154, allocations: 149.8 kB / 337.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1155, allocations: 19.8 kB / 337.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.1155, allocations: 13.41 kB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1155, allocations: 0 / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1155, allocations: 7.938 kB / 337.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1155, allocations: 0 / 337.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1157, allocations: 221.5 kB / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1158, allocations: 0 / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.1158, allocations: 15.97 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1158, allocations: 4 kB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1159, allocations: 4 kB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1159, allocations: 0 / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1159, allocations: 7.984 kB / 337.6 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.1163, allocations: 238.5 kB / 337.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.1164, allocations: 92.86 kB / 337.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.1164, allocations: 15.98 kB / 338 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1165, allocations: 8 kB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.1166, allocations: 11.98 kB / 338 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1166, allocations: 15.92 kB / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1167, allocations: 137.2 kB / 338.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.1167, allocations: 0 / 338.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.1172, allocations: 127.9 kB / 338.3 MB, free: 9.766 MB / 286.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.0008203/0.118, allocations: 340.8 kB / 338.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.1185, allocations: 207.7 kB / 338.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1185, allocations: 0 / 338.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1187, allocations: 67.91 kB / 338.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.1188, allocations: 11.98 kB / 338.9 MB, free: 9.152 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.1194, allocations: 289.2 kB / 339.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1197, allocations: 0.7162 MB / 339.9 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.1198, allocations: 25.39 kB / 339.9 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.1198, allocations: 19.44 kB / 339.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1199, allocations: 0 / 339.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of Templates: time 0.007536/0.1274, allocations: 3.613 MB / 343.5 MB, free: 4.43 MB / 286.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 -s cvode -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