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.001685/0.001685, allocations: 96.11 kB / 16.93 MB, free: 5.984 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.001821/0.001821, allocations: 180.3 kB / 17.82 MB, free: 5.652 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.706/1.706, allocations: 205.4 MB / 224 MB, free: 13.17 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.0007761/0.0007762, allocations: 19.98 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1424, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002346/0.1448, allocations: 1.264 MB / 329.6 MB, free: 2.824 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1462, allocations: 0.5312 MB / 330.1 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.1463, allocations: 4 kB / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.1464, allocations: 0 / 330.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.1465, allocations: 7.922 kB / 330.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1467, allocations: 39.89 kB / 330.2 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.057e-05/0.1468, allocations: 31.91 kB / 330.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.147, allocations: 15.98 kB / 330.2 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.147, allocations: 15.92 kB / 330.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.1471, allocations: 23.86 kB / 330.3 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1471, allocations: 0 / 330.3 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1473, allocations: 31.97 kB / 330.3 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.1474, allocations: 19.91 kB / 330.3 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.1474, allocations: 33.64 kB / 330.3 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1476, allocations: 55.89 kB / 330.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1476, allocations: 0 / 330.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1476, allocations: 0 / 330.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1476, allocations: 0 / 330.4 MB, free: 2.004 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.0006011/0.1482, allocations: 375.4 kB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.1483, allocations: 8.031 kB / 330.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.1489, allocations: 51.86 kB / 330.8 MB, free: 1.531 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1491, allocations: 174.9 kB / 331 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.1492, allocations: 7.953 kB / 331 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1492, allocations: 8 kB / 331 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1496, allocations: 81.66 kB / 331.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1496, allocations: 7.875 kB / 331.1 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1497, allocations: 8 kB / 331.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1497, allocations: 7.984 kB / 331.1 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.15, allocations: 79.94 kB / 331.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.1509, allocations: 352.5 kB / 331.5 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1512, allocations: 82.53 kB / 331.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1512, allocations: 0 / 331.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1512, allocations: 38.69 kB / 331.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1512, allocations: 0 / 331.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004504/0.1517, allocations: 141.5 kB / 331.8 MB, free: 452 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1517, allocations: 51.41 kB / 331.8 MB, free: 388 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1519, allocations: 122 kB / 332 MB, free: 256 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1519, allocations: 25.7 kB / 332 MB, free: 224 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1519, allocations: 104.1 kB / 332.1 MB, free: 116 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.152, allocations: 19.7 kB / 332.1 MB, free: 96 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.152, allocations: 4 kB / 332.1 MB, free: 92 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1521, allocations: 314.8 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1522, allocations: 31.98 kB / 332.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.1523, allocations: 39.97 kB / 332.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1524, allocations: 27.98 kB / 332.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1524, allocations: 0 / 332.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002512/0.1527, allocations: 106.1 kB / 332.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1527, allocations: 7.938 kB / 332.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1527, allocations: 4 kB / 332.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1528, allocations: 0 / 332.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1529, allocations: 19.98 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1529, allocations: 4 kB / 332.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.153, allocations: 31.78 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.153, allocations: 0 / 332.7 MB, free: 15.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1531, allocations: 113.8 kB / 332.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1532, allocations: 7.938 kB / 332.8 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.1535, allocations: 117.6 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1535, allocations: 3.938 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1535, allocations: 4 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1535, allocations: 0 / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1538, allocations: 197.5 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1538, allocations: 0 / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1539, allocations: 23.98 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.154, allocations: 0 / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.154, allocations: 4 kB / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.154, allocations: 0 / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.154, allocations: 0 / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.1544, allocations: 211.4 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1544, allocations: 85.02 kB / 333.4 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1545, allocations: 4 kB / 333.4 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1546, allocations: 11.98 kB / 333.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1546, allocations: 11.94 kB / 333.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1546, allocations: 3.984 kB / 333.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.1547, allocations: 91.27 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1547, allocations: 4 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1549, allocations: 15.91 kB / 333.6 MB, free: 14.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001045/0.155, allocations: 91.25 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1553, allocations: 80.08 kB / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1553, allocations: 0 / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1554, allocations: 47.91 kB / 333.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1557, allocations: 11.95 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.1562, allocations: 224.5 kB / 334 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1564, allocations: 0.6926 MB / 334.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1565, allocations: 7.984 kB / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.1565, allocations: 15.44 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1565, allocations: 0 / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of Templates: time 0.0029/0.1594, allocations: 0.6855 MB / 335.4 MB, free: 12.61 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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