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.001299/0.001299, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001266/0.001265, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.573/1.573, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001902/0.001902, allocations: 52.2 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1464, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003762/0.1502, allocations: 1.56 MB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1514, allocations: 0.5703 MB / 377.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.1515, allocations: 4 kB / 377.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.1516, allocations: 7.875 kB / 377.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.1517, allocations: 7.875 kB / 377.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.152, allocations: 43.89 kB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1521, allocations: 51.84 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1523, allocations: 27.98 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.1523, allocations: 19.86 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1524, allocations: 27.86 kB / 377.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1525, allocations: 4 kB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.1527, allocations: 43.95 kB / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1527, allocations: 11.92 kB / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1528, allocations: 23.81 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.153, allocations: 87.7 kB / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.153, allocations: 0 / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.153, allocations: 0 / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.153, allocations: 0 / 377.6 MB, free: 2.078 MB / 318.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.0005712/0.1536, allocations: 383.2 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1537, allocations: 11.89 kB / 378 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005185/0.1542, allocations: 44.8 kB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1544, allocations: 172.2 kB / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.1544, allocations: 8.375 kB / 378.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1545, allocations: 8.312 kB / 378.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1548, allocations: 97.89 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1548, allocations: 0 / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1548, allocations: 0 / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1548, allocations: 0 / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1551, allocations: 71.94 kB / 378.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.1559, allocations: 356.6 kB / 378.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1562, allocations: 70.53 kB / 378.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1564, allocations: 32.91 kB / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1564, allocations: 0 / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1565, allocations: 38.56 kB / 378.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1565, allocations: 4 kB / 378.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005891/0.1571, allocations: 121.7 kB / 379 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1572, allocations: 51.41 kB / 379.1 MB, free: 468 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1573, allocations: 126 kB / 379.2 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1573, allocations: 25.7 kB / 379.2 MB, free: 300 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.1574, allocations: 99.98 kB / 379.3 MB, free: 196 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1574, allocations: 19.8 kB / 379.3 MB, free: 176 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.1575, allocations: 17.72 kB / 379.4 MB, free: 152 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1739/0.3314, allocations: 318.8 kB / 379.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3317, allocations: 23.31 kB / 379.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.3318, allocations: 26.55 kB / 379.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.332, allocations: 59.83 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.332, allocations: 2.5 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002626/0.3322, allocations: 95.8 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3323, allocations: 5.281 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3323, allocations: 0 / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3323, allocations: 1.094 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3325, allocations: 23.28 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.3325, allocations: 6.188 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.3326, allocations: 12.33 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3326, allocations: 1.891 kB / 379.9 MB, free: 12.76 MB / 318.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 7.198e-05/0.3327, allocations: 114 kB / 380 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3327, allocations: 7.719 kB / 380 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.333, allocations: 110.2 kB / 380.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.333, allocations: 1.375 kB / 380.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.333, allocations: 4.953 kB / 380.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.333, allocations: 2.312 kB / 380.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3332, allocations: 194 kB / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3332, allocations: 4.906 kB / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.3333, allocations: 19.08 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3333, allocations: 2.219 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3334, allocations: 0 / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3334, allocations: 5.828 kB / 380.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3334, allocations: 2.312 kB / 380.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3336, allocations: 193.8 kB / 380.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.3337, allocations: 83.69 kB / 380.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3337, allocations: 1.609 kB / 380.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3338, allocations: 16.58 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3338, allocations: 4.812 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3338, allocations: 6.609 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.3339, allocations: 98.64 kB / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3339, allocations: 1.312 kB / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3341, allocations: 13.61 kB / 380.8 MB, free: 12.12 MB / 318.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 9.994e-05/0.3342, allocations: 95.33 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.3345, allocations: 64.98 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3345, allocations: 3.562 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3346, allocations: 36.91 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3349, allocations: 11.83 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.3354, allocations: 200.8 kB / 381.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3355, allocations: 0.6945 MB / 381.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.3356, allocations: 6.125 kB / 381.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.3356, allocations: 10.94 kB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3356, allocations: 5.188 kB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003315/0.3389, allocations: 0.7819 MB / 382.7 MB, free: 11.15 MB / 318.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