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.001319/0.001326, allocations: 108.9 kB / 17.73 MB, free: 5.316 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.001469/0.001469, allocations: 187 kB / 18.66 MB, free: 4.387 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.742/1.742, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001277/0.001278, allocations: 55.91 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 46.62 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003984/0.1312, allocations: 1.556 MB / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1325, allocations: 0.5703 MB / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1327, allocations: 0 / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.035e-05/0.1328, allocations: 11.86 kB / 377.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.1329, allocations: 7.938 kB / 377.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1333, allocations: 39.83 kB / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1334, allocations: 47.91 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1336, allocations: 39.91 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.1337, allocations: 19.86 kB / 377.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.1338, allocations: 31.84 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1338, allocations: 4 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.1341, allocations: 39.97 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.1341, allocations: 11.92 kB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1342, allocations: 23.81 kB / 377.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1344, allocations: 87.62 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1345, allocations: 0 / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1345, allocations: 0 / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1345, allocations: 4 kB / 377.6 MB, free: 2.055 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.0006533/0.1351, allocations: 387 kB / 378 MB, free: 1.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1352, allocations: 15.89 kB / 378 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.1356, allocations: 40.84 kB / 378.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.1358, allocations: 172.3 kB / 378.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.1359, allocations: 8.312 kB / 378.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1359, allocations: 8.375 kB / 378.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1362, allocations: 89.95 kB / 378.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1362, allocations: 3.938 kB / 378.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1362, allocations: 4 kB / 378.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1362, allocations: 3.938 kB / 378.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.1365, allocations: 71.94 kB / 378.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.1371, allocations: 344.7 kB / 378.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1373, allocations: 70.53 kB / 378.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.1374, allocations: 32.97 kB / 378.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1374, allocations: 0 / 378.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1374, allocations: 38.56 kB / 378.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1375, allocations: 0 / 378.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004249/0.1379, allocations: 129.7 kB / 379 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1379, allocations: 51.41 kB / 379.1 MB, free: 444 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1381, allocations: 130 kB / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1381, allocations: 25.7 kB / 379.2 MB, free: 272 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.1381, allocations: 104 kB / 379.3 MB, free: 164 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1382, allocations: 19.88 kB / 379.3 MB, free: 144 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1382, allocations: 17.72 kB / 379.4 MB, free: 120 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2949/0.4331, allocations: 312 kB / 379.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.4334, allocations: 27.05 kB / 379.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.4335, allocations: 27.33 kB / 379.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.4338, allocations: 56.77 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4338, allocations: 2.031 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003254/0.4341, allocations: 95.31 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4341, allocations: 5.5 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4342, allocations: 0 / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.4342, allocations: 4.016 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4344, allocations: 21.44 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4344, allocations: 3.75 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.4345, allocations: 15.23 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4345, allocations: 2.656 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 0.0001064/0.4346, allocations: 113.3 kB / 380 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.4347, allocations: 6.438 kB / 380 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.435, allocations: 109.9 kB / 380.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.435, allocations: 2.672 kB / 380.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4351, allocations: 4.312 kB / 380.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4351, allocations: 0.6094 kB / 380.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.4353, allocations: 188.4 kB / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4353, allocations: 3.531 kB / 380.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4354, allocations: 20.44 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4354, allocations: 3.469 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4354, allocations: 5.422 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4354, allocations: 3.938 kB / 380.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4354, allocations: 0.7031 kB / 380.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.4357, allocations: 197.1 kB / 380.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.4358, allocations: 88.53 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4358, allocations: 2.203 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4359, allocations: 13.69 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.4359, allocations: 3.734 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.4359, allocations: 2.125 kB / 380.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.663e-05/0.436, allocations: 96.64 kB / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.51e-07/0.436, allocations: 1.375 kB / 380.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.4363, allocations: 17.67 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 0.0001119/0.4364, allocations: 104 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4367, allocations: 62.75 kB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4367, allocations: 0 / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4368, allocations: 37.59 kB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.4372, allocations: 9.953 kB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.4377, allocations: 195.3 kB / 381.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.4378, allocations: 0.6904 MB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.4379, allocations: 8.328 kB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4379, allocations: 12.48 kB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4379, allocations: 1.406 kB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003576/0.4415, allocations: 0.7829 MB / 382.7 MB, free: 11.14 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