Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007595/0.0007595, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.000826/0.0008262, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.848/1.848, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005015/0.0005017, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002398/0.1327, allocations: 1.29 MB / 330.2 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1339, allocations: 0.5551 MB / 330.8 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.1339, allocations: 4 kB / 330.8 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.134, allocations: 3.938 kB / 330.8 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.685e-05/0.1341, allocations: 7.922 kB / 330.8 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1343, allocations: 31.92 kB / 330.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.1344, allocations: 47.91 kB / 330.9 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1345, allocations: 19.97 kB / 330.9 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.1346, allocations: 23.86 kB / 330.9 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.1347, allocations: 19.86 kB / 331 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1347, allocations: 4 kB / 331 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1349, allocations: 43.91 kB / 331 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.1349, allocations: 15.91 kB / 331 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.135, allocations: 49.52 kB / 331.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1352, allocations: 75.75 kB / 331.1 MB, free: 1.543 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1352, allocations: 0 / 331.1 MB, free: 1.543 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1352, allocations: 0 / 331.1 MB, free: 1.543 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1352, allocations: 0 / 331.1 MB, free: 1.543 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005079/0.1357, allocations: 371.6 kB / 331.5 MB, free: 1.133 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1358, allocations: 8.031 kB / 331.5 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.1362, allocations: 52.8 kB / 331.6 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1363, allocations: 176.2 kB / 331.7 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1364, allocations: 4.375 kB / 331.7 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1364, allocations: 12.31 kB / 331.8 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1366, allocations: 89.97 kB / 331.8 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1367, allocations: 0 / 331.8 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1367, allocations: 8 kB / 331.9 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1367, allocations: 0 / 331.9 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.1369, allocations: 83.88 kB / 331.9 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.1376, allocations: 352.6 kB / 332.3 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1378, allocations: 82.53 kB / 332.4 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1379, allocations: 36.97 kB / 332.4 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1379, allocations: 7.938 kB / 332.4 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.138, allocations: 38.55 kB / 332.4 MB, free: 88 kB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.138, allocations: 3.938 kB / 332.4 MB, free: 84 kB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004445/0.1384, allocations: 141.5 kB / 332.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1385, allocations: 55.41 kB / 332.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1386, allocations: 126 kB / 332.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1386, allocations: 25.7 kB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1387, allocations: 99.97 kB / 332.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1387, allocations: 11.81 kB / 332.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1387, allocations: 13.72 kB / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1389, allocations: 322.8 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.139, allocations: 27.98 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.1391, allocations: 35.97 kB / 333.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1393, allocations: 76.77 kB / 333.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1393, allocations: 0 / 333.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002525/0.1395, allocations: 109.5 kB / 333.5 MB, free: 15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1396, allocations: 4 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.1396, allocations: 0 / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.1396, allocations: 4 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1397, allocations: 19.98 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1397, allocations: 3.938 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.1398, allocations: 19.92 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1398, allocations: 0 / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 8.361e-05/0.1399, allocations: 121.8 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.14, allocations: 7.906 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1403, allocations: 125.6 kB / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1403, allocations: 0 / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1403, allocations: 3.938 kB / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1403, allocations: 0 / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1405, allocations: 185.6 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1405, allocations: 0 / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1406, allocations: 23.98 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1407, allocations: 4.5 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1407, allocations: 4 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1407, allocations: 0 / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.1407, allocations: 7.938 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.141, allocations: 215.3 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.141, allocations: 85.02 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1411, allocations: 3.938 kB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1412, allocations: 11.98 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1412, allocations: 11.92 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1412, allocations: 7.984 kB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.1413, allocations: 99.27 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1413, allocations: 0 / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1415, allocations: 8 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001267/0.1417, allocations: 95.25 kB / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.142, allocations: 79.89 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.142, allocations: 0 / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1421, allocations: 43.97 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1424, allocations: 4 kB / 334.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.1429, allocations: 224.5 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1432, allocations: 0.6965 MB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.1433, allocations: 7.938 kB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.1433, allocations: 11.44 kB / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1433, allocations: 4 kB / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of Templates: time 0.003123/0.1464, allocations: 0.7069 MB / 336.3 MB, free: 12.02 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches