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.001182/0.001183, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001262/0.001262, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.633/1.633, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001327/0.001327, allocations: 52.3 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1309, allocations: 46.64 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003177/0.1341, allocations: 1.567 MB / 330.3 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.1351, allocations: 0.5658 MB / 330.9 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.1352, allocations: 0 / 330.9 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.1352, allocations: 7.875 kB / 330.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.1353, allocations: 15.88 kB / 330.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1356, allocations: 39.89 kB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.1357, allocations: 47.86 kB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1359, allocations: 27.95 kB / 331 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.1359, allocations: 23.86 kB / 331 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.136, allocations: 23.86 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.136, allocations: 4 kB / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1362, allocations: 47.95 kB / 331.1 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.1362, allocations: 19.86 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1362, allocations: 23.81 kB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.1364, allocations: 83.77 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1364, allocations: 0 / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1364, allocations: 0 / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1364, allocations: 0 / 331.2 MB, free: 1.242 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.0005185/0.137, allocations: 375.2 kB / 331.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.137, allocations: 15.89 kB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.1374, allocations: 44.8 kB / 331.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1375, allocations: 176.2 kB / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.1376, allocations: 12.31 kB / 331.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1376, allocations: 4.375 kB / 331.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1379, allocations: 90.8 kB / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1379, allocations: 0 / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1379, allocations: 0 / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1379, allocations: 4 kB / 331.9 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1381, allocations: 75.94 kB / 332 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.1388, allocations: 348.5 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.139, allocations: 74.53 kB / 332.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.1391, allocations: 28.97 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1391, allocations: 7.938 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.1391, allocations: 38.5 kB / 332.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1392, allocations: 0 / 332.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004338/0.1396, allocations: 121.6 kB / 332.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1396, allocations: 51.41 kB / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1398, allocations: 126.4 kB / 332.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1398, allocations: 29.7 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1399, allocations: 95.98 kB / 332.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1399, allocations: 23.7 kB / 332.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1399, allocations: 13.72 kB / 332.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1401, allocations: 322.8 kB / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.1402, allocations: 23.98 kB / 333.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.1403, allocations: 31.97 kB / 333.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1405, allocations: 56.77 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1405, allocations: 0 / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002247/0.1407, allocations: 97.64 kB / 333.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1407, allocations: 4 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1408, allocations: 0 / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1408, allocations: 0 / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1409, allocations: 19.98 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.141, allocations: 3.938 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.141, allocations: 19.83 kB / 333.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1411, allocations: 0 / 333.5 MB, free: 14.73 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.00013/0.1412, allocations: 121.8 kB / 333.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1412, allocations: 3.938 kB / 333.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.1416, allocations: 109.6 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1416, allocations: 0 / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.1416, allocations: 3.938 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1416, allocations: 4.5 kB / 333.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1418, allocations: 193.5 kB / 333.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1419, allocations: 0 / 333.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.142, allocations: 19.98 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.142, allocations: 4 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.142, allocations: 4 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.142, allocations: 0 / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.142, allocations: 7.875 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.1423, allocations: 191.5 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.1424, allocations: 89 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1424, allocations: 0 / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1425, allocations: 11.98 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1425, allocations: 3.938 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1426, allocations: 7.984 kB / 334.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.1426, allocations: 103.3 kB / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1426, allocations: 0 / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1429, allocations: 16 kB / 334.4 MB, free: 13.75 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.0001253/0.143, allocations: 91.25 kB / 334.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1433, allocations: 63.89 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1433, allocations: 0 / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1434, allocations: 39.97 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1437, allocations: 12 kB / 334.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1442, allocations: 193.5 kB / 334.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1446, allocations: 0.6962 MB / 335.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.103e-05/0.1447, allocations: 11.98 kB / 335.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.1447, allocations: 11.42 kB / 335.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1447, allocations: 0 / 335.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of Templates: time 0.003433/0.1481, allocations: 0.7691 MB / 336.2 MB, free: 11.82 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/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