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.001136/0.001136, allocations: 100.4 kB / 17.58 MB, free: 5.418 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.001193/0.001192, allocations: 192 kB / 18.51 MB, free: 4.508 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.517/1.517, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001457/0.001457, allocations: 55.92 kB / 280.6 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.004546/0.1276, allocations: 1.518 MB / 328.8 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1306, allocations: 1.458 MB / 330.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1308, allocations: 0 / 330.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1309, allocations: 7.875 kB / 330.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1311, allocations: 27.73 kB / 330.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1323, allocations: 390.8 kB / 330.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1325, allocations: 131.7 kB / 330.8 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.1326, allocations: 13.5 kB / 330.8 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1326, allocations: 67.64 kB / 330.9 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.1327, allocations: 67.67 kB / 330.9 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.1328, allocations: 12 kB / 331 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.1335, allocations: 419.3 kB / 331.4 MB, free: 352 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.1336, allocations: 31.91 kB / 331.4 MB, free: 320 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.1337, allocations: 67.53 kB / 331.5 MB, free: 252 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.1343, allocations: 415.3 kB / 331.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1344, allocations: 0 / 331.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1344, allocations: 3.984 kB / 331.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1344, allocations: 0 / 331.9 MB, free: 15.84 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.0008841/0.1353, allocations: 0.5026 MB / 332.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1353, allocations: 8.031 kB / 332.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.1356, allocations: 40.62 kB / 332.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1358, allocations: 208.8 kB / 332.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1358, allocations: 8.375 kB / 332.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1358, allocations: 8.375 kB / 332.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1361, allocations: 128.5 kB / 332.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1361, allocations: 0 / 332.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1362, allocations: 7.938 kB / 332.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1362, allocations: 3.984 kB / 332.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1364, allocations: 67.89 kB / 332.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.1372, allocations: 0.5517 MB / 333.4 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.1375, allocations: 143.7 kB / 333.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1377, allocations: 70.61 kB / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1377, allocations: 0 / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.138, allocations: 157.1 kB / 333.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.138, allocations: 0 / 333.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006144/0.1386, allocations: 249.3 kB / 334 MB, free: 13.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.1387, allocations: 122.8 kB / 334.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1389, allocations: 198.8 kB / 334.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.139, allocations: 45.69 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.1391, allocations: 116.6 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1391, allocations: 43.48 kB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.1392, allocations: 61.67 kB / 334.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1393, allocations: 330.8 kB / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.1395, allocations: 103.9 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.1398, allocations: 147.2 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1402, allocations: 219.7 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1402, allocations: 3.938 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005223/0.1407, allocations: 305.2 kB / 335.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1407, allocations: 8 kB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1407, allocations: 3.984 kB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1408, allocations: 7.938 kB / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1409, allocations: 31.92 kB / 335.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.141, allocations: 4 kB / 335.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.141, allocations: 19.83 kB / 335.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1411, allocations: 8 kB / 335.7 MB, free: 11.65 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.0001457/0.1412, allocations: 157.8 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1413, allocations: 11.81 kB / 335.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1413, allocations: 13.41 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1413, allocations: 4 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1413, allocations: 96 / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1413, allocations: 7.969 kB / 335.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1415, allocations: 221.4 kB / 336.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1415, allocations: 8 kB / 336.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.1416, allocations: 12 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1416, allocations: 0 / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1416, allocations: 3.984 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1416, allocations: 4 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1416, allocations: 0 / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.142, allocations: 242.5 kB / 336.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.1421, allocations: 100.8 kB / 336.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1422, allocations: 8 kB / 336.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1422, allocations: 7.984 kB / 336.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.1423, allocations: 15.98 kB / 336.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1423, allocations: 7.938 kB / 336.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1424, allocations: 137.2 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000451/0.1429, allocations: 124 kB / 336.8 MB, free: 10.48 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.0008544/0.1438, allocations: 349.2 kB / 337.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.1442, allocations: 207.7 kB / 337.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1442, allocations: 3.938 kB / 337.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1444, allocations: 64.16 kB / 337.4 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.0001792/0.1446, allocations: 12 kB / 337.4 MB, free: 9.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.1451, allocations: 293 kB / 337.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1454, allocations: 0.7162 MB / 338.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.1455, allocations: 21.42 kB / 338.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.1455, allocations: 19.44 kB / 338.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1456, allocations: 0 / 338.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of Templates: time 0.007059/0.1526, allocations: 3.613 MB / 342.1 MB, free: 5.137 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/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