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.0008029/0.0008032, allocations: 94.83 kB / 16.65 MB, free: 6.535 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.0009065/0.0009068, allocations: 176.1 kB / 17.56 MB, free: 6.18 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.545/1.545, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 11.94 kB / 301.4 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 50.41 MB / 351.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002188/0.1196, allocations: 1.289 MB / 353.1 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1208, allocations: 0.519 MB / 353.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.1209, allocations: 0 / 353.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.1209, allocations: 4 kB / 353.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1211, allocations: 11.88 kB / 353.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1213, allocations: 35.95 kB / 353.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1215, allocations: 51.78 kB / 353.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1216, allocations: 16 kB / 353.8 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.1217, allocations: 15.92 kB / 353.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.1218, allocations: 23.84 kB / 353.8 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1218, allocations: 8 kB / 353.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1221, allocations: 31.97 kB / 353.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.1221, allocations: 11.94 kB / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1222, allocations: 53.44 kB / 353.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1223, allocations: 75.75 kB / 354 MB, free: 1.562 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1224, allocations: 0 / 354 MB, free: 1.562 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1224, allocations: 4 kB / 354 MB, free: 1.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1224, allocations: 0 / 354 MB, free: 1.559 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.0005888/0.123, allocations: 375.5 kB / 354.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.123, allocations: 8.031 kB / 354.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.1235, allocations: 48.8 kB / 354.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1237, allocations: 176.2 kB / 354.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1237, allocations: 12.31 kB / 354.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1237, allocations: 8.125 kB / 354.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.124, allocations: 97.58 kB / 354.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.124, allocations: 0 / 354.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1241, allocations: 0 / 354.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1241, allocations: 4 kB / 354.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.1243, allocations: 83.94 kB / 354.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.125, allocations: 352.6 kB / 355.1 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1252, allocations: 82.53 kB / 355.2 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1254, allocations: 36.97 kB / 355.2 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1254, allocations: 0 / 355.2 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1254, allocations: 38.56 kB / 355.3 MB, free: 104 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.1254, allocations: 3.984 kB / 355.3 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004765/0.1259, allocations: 149.4 kB / 355.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.126, allocations: 51.41 kB / 355.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1261, allocations: 125.3 kB / 355.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1261, allocations: 29.7 kB / 355.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1262, allocations: 99.92 kB / 355.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.1262, allocations: 27.78 kB / 355.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1262, allocations: 9.719 kB / 355.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1264, allocations: 318.8 kB / 356.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1265, allocations: 31.97 kB / 356.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.1266, allocations: 31.98 kB / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1268, allocations: 68.81 kB / 356.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1268, allocations: 4 kB / 356.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002666/0.1271, allocations: 109.5 kB / 356.3 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1271, allocations: 4 kB / 356.3 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1271, allocations: 0 / 356.3 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1271, allocations: 3.938 kB / 356.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1273, allocations: 27.97 kB / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1273, allocations: 0 / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.1274, allocations: 15.94 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1274, allocations: 7.984 kB / 356.4 MB, free: 14.94 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 9.456e-05/0.1275, allocations: 109.8 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1275, allocations: 7.906 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.1279, allocations: 125.5 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1279, allocations: 11.88 kB / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1279, allocations: 0 / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1279, allocations: 0 / 356.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1281, allocations: 189.6 kB / 356.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1281, allocations: 3.984 kB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1282, allocations: 19.98 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1283, allocations: 0 / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1283, allocations: 4.5 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1283, allocations: 3.938 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1283, allocations: 0 / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.1286, allocations: 215.3 kB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1287, allocations: 85.02 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1287, allocations: 0 / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1288, allocations: 23.92 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1289, allocations: 4 kB / 357.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.1289, allocations: 0 / 357.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.1289, allocations: 95.27 kB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1289, allocations: 0 / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1292, allocations: 12 kB / 357.3 MB, free: 13.95 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.000116/0.1293, allocations: 95.19 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1296, allocations: 83.94 kB / 357.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1296, allocations: 3.938 kB / 357.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1297, allocations: 35.98 kB / 357.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1301, allocations: 15.92 kB / 357.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.1306, allocations: 220.5 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1309, allocations: 0.6926 MB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.1309, allocations: 11.92 kB / 358.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.131, allocations: 11.44 kB / 358.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.131, allocations: 0 / 358.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Templates: time 0.003146/0.1342, allocations: 0.7082 MB / 359.1 MB, free: 12.02 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/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