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.001522/0.001522, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001601/0.001601, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.665/1.665, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001233/0.001233, allocations: 59.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1286, allocations: 46.61 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002998/0.1316, allocations: 1.53 MB / 376.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.1343, allocations: 1.454 MB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.1344, allocations: 7.938 kB / 378.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.1345, allocations: 7.875 kB / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.1346, allocations: 23.8 kB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1358, allocations: 398.7 kB / 378.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.136, allocations: 123.7 kB / 378.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.1361, allocations: 13.48 kB / 378.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.1361, allocations: 63.72 kB / 378.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.1362, allocations: 63.69 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1363, allocations: 12 kB / 378.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006897/0.137, allocations: 419.3 kB / 379.2 MB, free: 456 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.137, allocations: 39.89 kB / 379.3 MB, free: 416 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.1371, allocations: 67.53 kB / 379.3 MB, free: 348 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3032/0.4404, allocations: 407.8 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.4405, allocations: 0 / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4405, allocations: 0 / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4405, allocations: 0 / 379.7 MB, free: 10.7 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.001242/0.4417, allocations: 0.5076 MB / 380.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.4418, allocations: 10.56 kB / 380.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.4421, allocations: 32.92 kB / 380.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.4423, allocations: 206.2 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4424, allocations: 8.062 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.4424, allocations: 12.05 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.4427, allocations: 129.8 kB / 380.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4428, allocations: 3.938 kB / 380.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4428, allocations: 1.375 kB / 380.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4428, allocations: 1.375 kB / 380.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.443, allocations: 66.75 kB / 380.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.4439, allocations: 0.5504 MB / 381.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.4443, allocations: 150 kB / 381.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.4445, allocations: 68.45 kB / 381.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.4445, allocations: 2.516 kB / 381.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.4449, allocations: 153.9 kB / 381.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.4449, allocations: 0 / 381.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007454/0.4457, allocations: 258.9 kB / 381.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.4458, allocations: 118.2 kB / 382 MB, free: 9.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.4461, allocations: 202.3 kB / 382.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.4461, allocations: 43.3 kB / 382.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.4462, allocations: 106.7 kB / 382.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.4463, allocations: 45.95 kB / 382.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4464, allocations: 58.3 kB / 382.4 MB, free: 9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4466, allocations: 334.7 kB / 382.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.4469, allocations: 99.58 kB / 382.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.4472, allocations: 151.7 kB / 383 MB, free: 8.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.4478, allocations: 224.5 kB / 383.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.4478, allocations: 0.5938 kB / 383.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008459/0.4487, allocations: 306 kB / 383.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.4487, allocations: 10.55 kB / 383.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4487, allocations: 1.969 kB / 383.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.4488, allocations: 2.531 kB / 383.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.449, allocations: 34.16 kB / 383.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.449, allocations: 1.703 kB / 383.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.4491, allocations: 29.17 kB / 383.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.4492, allocations: 15.02 kB / 383.6 MB, free: 8.539 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.0001917/0.4494, allocations: 150.2 kB / 383.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.4494, allocations: 17.53 kB / 383.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.4495, allocations: 16.47 kB / 383.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.4495, allocations: 3.516 kB / 383.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4495, allocations: 0 / 383.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4495, allocations: 2.203 kB / 383.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.4498, allocations: 219.1 kB / 384 MB, free: 8.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4498, allocations: 5.125 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.4499, allocations: 17.27 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4499, allocations: 1.469 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4499, allocations: 2.141 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4499, allocations: 1.188 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.45, allocations: 1.266 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.4505, allocations: 241.7 kB / 384.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.4505, allocations: 98.02 kB / 384.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.4506, allocations: 8.875 kB / 384.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.4507, allocations: 11.83 kB / 384.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.4508, allocations: 14.3 kB / 384.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4508, allocations: 6.625 kB / 384.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.4509, allocations: 149 kB / 384.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4509, allocations: 0 / 384.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006613/0.4516, allocations: 124 kB / 384.7 MB, free: 7.902 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.0009364/0.4525, allocations: 350.3 kB / 385 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.4532, allocations: 197.8 kB / 385.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4532, allocations: 192 / 385.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.4534, allocations: 70.83 kB / 385.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.4536, allocations: 11.48 kB / 385.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.4544, allocations: 275 kB / 385.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4547, allocations: 0.7332 MB / 386.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.4549, allocations: 22.06 kB / 386.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.455, allocations: 17.27 kB / 386.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.455, allocations: 0 / 386.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of Templates: time 0.01136/0.4664, allocations: 3.643 MB / 390 MB, free: 6.516 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