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.001303/0.001303, allocations: 99.02 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.001281/0.001281, 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.579/1.579, allocations: 205.1 MB / 224.4 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.001856/0.001856, allocations: 55.92 kB / 280.6 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.004799/0.1392, allocations: 1.56 MB / 328.8 MB, free: 2.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1407, allocations: 0.5696 MB / 329.4 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1409, allocations: 4 kB / 329.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.564e-05/0.141, allocations: 3.938 kB / 329.4 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1412, allocations: 11.88 kB / 329.4 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1416, allocations: 47.81 kB / 329.5 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1417, allocations: 43.92 kB / 329.5 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1419, allocations: 19.98 kB / 329.5 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.142, allocations: 23.88 kB / 329.6 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.1421, allocations: 31.83 kB / 329.6 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1421, allocations: 4 kB / 329.6 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.1424, allocations: 47.91 kB / 329.6 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.1425, allocations: 15.92 kB / 329.7 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.1425, allocations: 23.81 kB / 329.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1428, allocations: 75.77 kB / 329.8 MB, free: 1.969 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.1428, allocations: 4 kB / 329.8 MB, free: 1.965 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1428, allocations: 0 / 329.8 MB, free: 1.965 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.1428, allocations: 0 / 329.8 MB, free: 1.965 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.000705/0.1435, allocations: 379.5 kB / 330.1 MB, free: 1.547 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.1436, allocations: 15.89 kB / 330.1 MB, free: 1.531 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/0.1441, allocations: 48.8 kB / 330.2 MB, free: 1.484 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1443, allocations: 180.2 kB / 330.4 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1444, allocations: 384 / 330.4 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1444, allocations: 8.375 kB / 330.4 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1447, allocations: 85.95 kB / 330.5 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1447, allocations: 0 / 330.5 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1447, allocations: 12 kB / 330.5 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1447, allocations: 0 / 330.5 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.145, allocations: 63.94 kB / 330.5 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.1458, allocations: 353.4 kB / 330.9 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1461, allocations: 66.55 kB / 330.9 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1462, allocations: 40.89 kB / 331 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1462, allocations: 3.938 kB / 331 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1463, allocations: 30.56 kB / 331 MB, free: 0.543 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.1463, allocations: 4 kB / 331 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005096/0.1468, allocations: 117.6 kB / 331.1 MB, free: 428 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.1469, allocations: 55.41 kB / 331.2 MB, free: 360 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.147, allocations: 122 kB / 331.3 MB, free: 228 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1471, allocations: 29.69 kB / 331.3 MB, free: 192 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.1472, allocations: 95.98 kB / 331.4 MB, free: 92 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.1472, allocations: 23.7 kB / 331.5 MB, free: 68 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.1473, allocations: 17.72 kB / 331.5 MB, free: 44 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1475, allocations: 318.8 kB / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1476, allocations: 35.86 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.1477, allocations: 23.97 kB / 331.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.1479, allocations: 60.83 kB / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1479, allocations: 0 / 331.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002535/0.1482, allocations: 90.02 kB / 332 MB, free: 15.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1482, allocations: 11.98 kB / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1483, allocations: 0 / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1483, allocations: 0 / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1484, allocations: 20.05 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1485, allocations: 7.875 kB / 332 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.1486, allocations: 23.83 kB / 332.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1486, allocations: 0 / 332.1 MB, free: 15.45 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 0.0001077/0.1487, allocations: 113.8 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.1487, allocations: 4 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.1491, allocations: 109.6 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1491, allocations: 4 kB / 332.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1491, allocations: 3.938 kB / 332.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1491, allocations: 0 / 332.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1493, allocations: 197.5 kB / 332.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1493, allocations: 4 kB / 332.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1494, allocations: 19.92 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1494, allocations: 0 / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1495, allocations: 0 / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1495, allocations: 0 / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1495, allocations: 7.938 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1498, allocations: 195.4 kB / 332.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1498, allocations: 85.02 kB / 332.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1499, allocations: 0 / 332.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.15, allocations: 7.984 kB / 332.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.15, allocations: 11.94 kB / 332.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1501, allocations: 4 kB / 332.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.1502, allocations: 99.77 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1502, allocations: 0 / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1504, allocations: 8 kB / 332.9 MB, free: 14.49 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.0001294/0.1505, allocations: 107.2 kB / 333 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1508, allocations: 64.2 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1509, allocations: 4 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.151, allocations: 40.03 kB / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1513, allocations: 8.125 kB / 333.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.1518, allocations: 201.3 kB / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1521, allocations: 0.6885 MB / 334 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.1522, allocations: 11.98 kB / 334 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.1522, allocations: 11.44 kB / 334 MB, free: 13.3 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1522, allocations: 0 / 334 MB, free: 13.3 MB / 286.1 MB Notification: Performance of Templates: time 0.003697/0.1559, allocations: 0.7701 MB / 334.8 MB, free: 12.54 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches