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.001336/0.001336, allocations: 109.9 kB / 18.25 MB, free: 4.777 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.001139/0.001139, allocations: 195.6 kB / 19.18 MB, free: 3.855 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.456/1.456, allocations: 205.1 MB / 225 MB, free: 12.31 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.001289/0.00129, allocations: 47.92 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 46.64 MB / 327.9 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002796/0.1051, allocations: 1.522 MB / 329.5 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1075, allocations: 1.459 MB / 330.9 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.1076, allocations: 0 / 330.9 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1077, allocations: 11.86 kB / 330.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.1078, allocations: 27.72 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.109, allocations: 386.8 kB / 331.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1091, allocations: 127.7 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.1092, allocations: 21.48 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.1093, allocations: 63.69 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.1094, allocations: 63.69 kB / 331.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1094, allocations: 12 kB / 331.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.1101, allocations: 423.3 kB / 332 MB, free: 348 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1101, allocations: 31.91 kB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.1102, allocations: 67.53 kB / 332.1 MB, free: 248 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.1108, allocations: 411.3 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1108, allocations: 0 / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1108, allocations: 0 / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1108, allocations: 8 kB / 332.5 MB, free: 15.83 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.0009672/0.1118, allocations: 0.5065 MB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1119, allocations: 8.031 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.1121, allocations: 32.64 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1123, allocations: 208.8 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1123, allocations: 12.36 kB / 333.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1124, allocations: 4.375 kB / 333.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1126, allocations: 136.5 kB / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1127, allocations: 4 kB / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1127, allocations: 0 / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.1127, allocations: 0 / 333.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1129, allocations: 63.89 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008101/0.1137, allocations: 0.5516 MB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.1141, allocations: 151.7 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1142, allocations: 66.61 kB / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1142, allocations: 0 / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.1146, allocations: 157.1 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.1146, allocations: 0 / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006076/0.1152, allocations: 253.6 kB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.1153, allocations: 118.8 kB / 334.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1155, allocations: 198.8 kB / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.1156, allocations: 49.69 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.1156, allocations: 116.4 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1157, allocations: 47.47 kB / 335.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.1158, allocations: 49.7 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1159, allocations: 338.8 kB / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1161, allocations: 103.9 kB / 335.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.1164, allocations: 143.2 kB / 335.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1168, allocations: 227.7 kB / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1168, allocations: 0 / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005487/0.1173, allocations: 301.2 kB / 336.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1174, allocations: 7.938 kB / 336.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1174, allocations: 4 kB / 336.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1174, allocations: 0 / 336.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1176, allocations: 44 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1176, allocations: 0 / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.1177, allocations: 19.84 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.1177, allocations: 11.98 kB / 336.4 MB, free: 11.64 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.0001468/0.1179, allocations: 145.7 kB / 336.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1179, allocations: 19.8 kB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.118, allocations: 13.41 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.118, allocations: 4 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.118, allocations: 4 kB / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.118, allocations: 0 / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.1182, allocations: 221.4 kB / 336.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1182, allocations: 0 / 336.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.1183, allocations: 11.98 kB / 336.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1183, allocations: 8 kB / 336.8 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1184, allocations: 0 / 336.8 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1184, allocations: 7.984 kB / 336.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1184, allocations: 0 / 336.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.1188, allocations: 242.5 kB / 337.1 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.1188, allocations: 92.86 kB / 337.2 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.1189, allocations: 15.98 kB / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.119, allocations: 4 kB / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.119, allocations: 23.97 kB / 337.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1191, allocations: 7.938 kB / 337.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1192, allocations: 133.2 kB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.1192, allocations: 0 / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.1197, allocations: 123.9 kB / 337.5 MB, free: 10.49 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.0008684/0.1205, allocations: 349.2 kB / 337.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.121, allocations: 219.8 kB / 338 MB, free: 9.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.121, allocations: 0 / 338 MB, free: 9.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1212, allocations: 63.91 kB / 338.1 MB, free: 9.871 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.1214, allocations: 12 kB / 338.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.122, allocations: 322.9 kB / 338.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1223, allocations: 0.7201 MB / 339.1 MB, free: 8.758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1224, allocations: 15.44 kB / 339.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1224, allocations: 0 / 339.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of Templates: time 0.006738/0.1291, allocations: 3.978 MB / 343.1 MB, free: 4.758 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 -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