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.001416/0.001416, allocations: 114.9 kB / 17.69 MB, free: 5.312 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.001419/0.001419, allocations: 191 kB / 18.63 MB, free: 4.379 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.376/1.376, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.09 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1185, allocations: 49.44 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002943/0.1215, allocations: 1.575 MB / 353.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.1224, allocations: 0.5196 MB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.1225, allocations: 4 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.1225, allocations: 7.875 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.1226, allocations: 11.88 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1228, allocations: 35.91 kB / 353.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.1229, allocations: 51.78 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1231, allocations: 27.97 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.1231, allocations: 23.86 kB / 353.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.1232, allocations: 27.86 kB / 353.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1232, allocations: 4 kB / 353.8 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.1234, allocations: 47.95 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.1234, allocations: 11.92 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1235, allocations: 23.88 kB / 353.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1236, allocations: 83.64 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1236, allocations: 0 / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1236, allocations: 0 / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1236, allocations: 0 / 353.9 MB, free: 1.25 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.0004412/0.1241, allocations: 387.2 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1241, allocations: 12.03 kB / 354.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.1245, allocations: 40.8 kB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1246, allocations: 172.2 kB / 354.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1247, allocations: 4.375 kB / 354.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1247, allocations: 12.12 kB / 354.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.1249, allocations: 96.39 kB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.125, allocations: 0 / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.125, allocations: 4 kB / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.125, allocations: 4 kB / 354.7 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.1252, allocations: 63.94 kB / 354.7 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.1258, allocations: 360.5 kB / 355.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.126, allocations: 66.53 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.1261, allocations: 36.91 kB / 355.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1261, allocations: 4 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1261, allocations: 30.56 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1262, allocations: 4 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003821/0.1265, allocations: 129.4 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1266, allocations: 51.41 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.1267, allocations: 122.1 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1267, allocations: 29.7 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.1268, allocations: 92.08 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1268, allocations: 23.7 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1268, allocations: 21.72 kB / 355.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1269, allocations: 318.8 kB / 356 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.127, allocations: 23.98 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.1271, allocations: 27.97 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1273, allocations: 56.83 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1273, allocations: 8.312 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/0.1275, allocations: 93.64 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1275, allocations: 4 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1275, allocations: 0 / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1276, allocations: 7.938 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1277, allocations: 15.98 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1277, allocations: 4 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.1278, allocations: 19.83 kB / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1278, allocations: 4 kB / 356.2 MB, free: 14.72 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 7.374e-05/0.1279, allocations: 113.8 kB / 356.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1279, allocations: 4 kB / 356.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1282, allocations: 113.5 kB / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1282, allocations: 7.938 kB / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1283, allocations: 0 / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1283, allocations: 0 / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.1284, allocations: 193.5 kB / 356.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1285, allocations: 0 / 356.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1286, allocations: 19.98 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1286, allocations: 0 / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1286, allocations: 0 / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1286, allocations: 7.875 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1286, allocations: 3.938 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1289, allocations: 199.4 kB / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1289, allocations: 81.02 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.129, allocations: 0 / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1291, allocations: 19.92 kB / 357 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1291, allocations: 0 / 357 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1291, allocations: 12.17 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.1292, allocations: 91.27 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1292, allocations: 4 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1294, allocations: 12 kB / 357.1 MB, free: 13.75 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 9.759e-05/0.1295, allocations: 91.78 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1298, allocations: 71.89 kB / 357.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1298, allocations: 4 kB / 357.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.1299, allocations: 35.97 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1302, allocations: 4 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.1306, allocations: 197.4 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1309, allocations: 0.6946 MB / 358.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.1309, allocations: 7.984 kB / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.131, allocations: 15.42 kB / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.131, allocations: 0 / 358.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of Templates: time 0.00277/0.1338, allocations: 0.7836 MB / 359 MB, free: 11.8 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 cvode -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