Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 113.5 kB / 17.69 MB, free: 5.309 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.001104/0.001104, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 55.67 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.004282/0.1306, allocations: 1.565 MB / 353.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1318, allocations: 0.5196 MB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.1319, allocations: 4 kB / 353.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.132, allocations: 7.875 kB / 353.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.1321, allocations: 7.875 kB / 353.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.1324, allocations: 39.89 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1325, allocations: 59.77 kB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1327, allocations: 16 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.1328, allocations: 27.86 kB / 353.8 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.1328, allocations: 23.86 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1329, allocations: 4 kB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.1331, allocations: 47.94 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.1331, allocations: 15.94 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1332, allocations: 27.8 kB / 353.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1334, allocations: 79.72 kB / 353.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1334, allocations: 7.984 kB / 354 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1334, allocations: 0 / 354 MB, free: 1.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1334, allocations: 0 / 354 MB, free: 1.211 MB / 286.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.0005639/0.134, allocations: 375.2 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.134, allocations: 8.031 kB / 354.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.1346, allocations: 44.8 kB / 354.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1347, allocations: 188.2 kB / 354.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1348, allocations: 384 / 354.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1348, allocations: 8.125 kB / 354.6 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1351, allocations: 89.58 kB / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1351, allocations: 0 / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1351, allocations: 8 kB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1351, allocations: 0 / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1354, allocations: 59.95 kB / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.1362, allocations: 352.5 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1365, allocations: 70.53 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1366, allocations: 40.95 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1367, allocations: 4 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1367, allocations: 34.5 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1367, allocations: 0 / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005703/0.1373, allocations: 121.4 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1373, allocations: 59.41 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1375, allocations: 126.1 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1375, allocations: 25.7 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.1376, allocations: 96.06 kB / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1376, allocations: 15.72 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1377, allocations: 25.7 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1379, allocations: 314.8 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.138, allocations: 27.97 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1381, allocations: 32.23 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1384, allocations: 64.75 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1384, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003579/0.1388, allocations: 85.66 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1388, allocations: 8 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1389, allocations: 4 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1389, allocations: 3.938 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1391, allocations: 15.98 kB / 356.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1391, allocations: 0 / 356.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1392, allocations: 19.83 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1393, allocations: 0 / 356.2 MB, free: 14.7 MB / 302.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.0001215/0.1394, allocations: 117.8 kB / 356.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.1394, allocations: 7.984 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.1399, allocations: 113.5 kB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1399, allocations: 3.938 kB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1399, allocations: 0 / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1399, allocations: 0 / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.1402, allocations: 197.5 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1402, allocations: 0 / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1404, allocations: 27.92 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1405, allocations: 4 kB / 356.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1405, allocations: 3.984 kB / 356.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1405, allocations: 4.188 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1405, allocations: 0 / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.1409, allocations: 195.5 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.141, allocations: 84.95 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.141, allocations: 11.98 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1412, allocations: 7.938 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1413, allocations: 11.98 kB / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1413, allocations: 0 / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.1414, allocations: 98.27 kB / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1414, allocations: 0 / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.1418, allocations: 8 kB / 357.1 MB, free: 13.72 MB / 302.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.0001356/0.142, allocations: 95.78 kB / 357.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.1424, allocations: 71.89 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1424, allocations: 0 / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1426, allocations: 31.97 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.143, allocations: 8 kB / 357.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.1437, allocations: 201.4 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.144, allocations: 0.6885 MB / 358.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.1441, allocations: 11.97 kB / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1442, allocations: 19.38 kB / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1442, allocations: 0 / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Templates: time 0.004155/0.1484, allocations: 0.762 MB / 359 MB, free: 11.79 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches