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.001701/0.001702, allocations: 108.1 kB / 17.15 MB, free: 6.305 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.002009/0.00201, allocations: 198 kB / 18.07 MB, free: 5.41 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.66/1.66, allocations: 205.1 MB / 223.9 MB, free: 12.37 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.001135/0.001135, allocations: 44.39 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 46.64 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003265/0.1272, allocations: 1.621 MB / 328.2 MB, free: 3.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1284, allocations: 0.5628 MB / 328.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.1285, allocations: 4 kB / 328.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.1286, allocations: 3.938 kB / 328.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1287, allocations: 11.92 kB / 328.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1289, allocations: 31.91 kB / 328.8 MB, free: 2.621 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1291, allocations: 47.84 kB / 328.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1292, allocations: 20 kB / 328.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/0.1293, allocations: 27.84 kB / 328.9 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.1293, allocations: 23.86 kB / 329 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1294, allocations: 8 kB / 329 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1296, allocations: 39.95 kB / 329 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.1296, allocations: 11.94 kB / 329 MB, free: 2.445 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.1297, allocations: 27.78 kB / 329 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1299, allocations: 75.77 kB / 329.1 MB, free: 2.344 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.1299, allocations: 4 kB / 329.1 MB, free: 2.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1299, allocations: 0 / 329.1 MB, free: 2.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1299, allocations: 0 / 329.1 MB, free: 2.34 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.0006082/0.1305, allocations: 375.6 kB / 329.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1306, allocations: 12.03 kB / 329.5 MB, free: 1.914 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005172/0.1311, allocations: 52.73 kB / 329.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1313, allocations: 180.2 kB / 329.7 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.1313, allocations: 384 / 329.7 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1314, allocations: 8.375 kB / 329.7 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1316, allocations: 85.95 kB / 329.8 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1317, allocations: 0 / 329.8 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.1317, allocations: 16 kB / 329.8 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.1317, allocations: 0 / 329.8 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.1319, allocations: 59.95 kB / 329.9 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.1327, allocations: 360.4 kB / 330.2 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1329, allocations: 78.47 kB / 330.3 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.133, allocations: 36.95 kB / 330.4 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.133, allocations: 0 / 330.4 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1331, allocations: 30.56 kB / 330.4 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1331, allocations: 4 kB / 330.4 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004322/0.1335, allocations: 117.6 kB / 330.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1336, allocations: 55.39 kB / 330.6 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1337, allocations: 126 kB / 330.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1337, allocations: 25.7 kB / 330.7 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1339, allocations: 103.9 kB / 330.8 MB, free: 460 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1339, allocations: 23.7 kB / 330.8 MB, free: 436 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.134, allocations: 21.7 kB / 330.8 MB, free: 408 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1342, allocations: 314.8 kB / 331.2 MB, free: 84 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1343, allocations: 31.97 kB / 331.2 MB, free: 52 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.1344, allocations: 19.98 kB / 331.2 MB, free: 32 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1346, allocations: 64.89 kB / 331.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1346, allocations: 0 / 331.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002439/0.1348, allocations: 89.66 kB / 331.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1349, allocations: 4 kB / 331.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1349, allocations: 0 / 331.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1349, allocations: 0 / 331.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1351, allocations: 19.92 kB / 331.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.1351, allocations: 7.922 kB / 331.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.1352, allocations: 23.83 kB / 331.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1352, allocations: 4.438 kB / 331.4 MB, free: 15.81 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.0001124/0.1353, allocations: 113.8 kB / 331.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1353, allocations: 4 kB / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.1357, allocations: 113.6 kB / 331.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1357, allocations: 0 / 331.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1357, allocations: 3.938 kB / 331.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1357, allocations: 3.984 kB / 331.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1359, allocations: 193.5 kB / 331.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.136, allocations: 3.938 kB / 331.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1361, allocations: 19.92 kB / 331.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1361, allocations: 0 / 331.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1361, allocations: 7.922 kB / 331.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1361, allocations: 0 / 331.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1361, allocations: 7.938 kB / 331.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1364, allocations: 187.5 kB / 332.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1365, allocations: 89 kB / 332.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1365, allocations: 0 / 332.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.1366, allocations: 4 kB / 332.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.1367, allocations: 15.92 kB / 332.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.1367, allocations: 4 kB / 332.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.1367, allocations: 95.27 kB / 332.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.1367, allocations: 0 / 332.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.137, allocations: 11.94 kB / 332.3 MB, free: 14.85 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.0001158/0.1371, allocations: 99.25 kB / 332.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1373, allocations: 59.95 kB / 332.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1374, allocations: 4 kB / 332.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1375, allocations: 35.91 kB / 332.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1378, allocations: 8 kB / 332.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.1385, allocations: 223.1 kB / 332.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1389, allocations: 0.6887 MB / 333.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.1391, allocations: 11.98 kB / 333.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1391, allocations: 7.438 kB / 333.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1391, allocations: 7.938 kB / 333.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of Templates: time 0.003277/0.1424, allocations: 0.7105 MB / 334.1 MB, free: 12.95 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches