Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008244/0.0008242, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009369/0.0009371, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002289/0.0002289, allocations: 8 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09299, allocations: 51.53 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001701/0.09473, allocations: 1.307 MB / 361.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009528/0.0957, allocations: 0.5612 MB / 361.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.09577, allocations: 3.938 kB / 361.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.0958, allocations: 3.938 kB / 361.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.09589, allocations: 11.92 kB / 361.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.0961, allocations: 35.89 kB / 361.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.09619, allocations: 47.8 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.09631, allocations: 31.95 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.09635, allocations: 15.94 kB / 361.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.09641, allocations: 23.8 kB / 362 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.09644, allocations: 4 kB / 362 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.09666, allocations: 51.94 kB / 362 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.09669, allocations: 8 kB / 362 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.09674, allocations: 49.45 kB / 362.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.09686, allocations: 51.89 kB / 362.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09688, allocations: 0 / 362.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09689, allocations: 4 kB / 362.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.09689, allocations: 0 / 362.1 MB, free: 11.08 MB / 302.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.0004125/0.09731, allocations: 379.5 kB / 362.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.09736, allocations: 12.03 kB / 362.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.09782, allocations: 56.8 kB / 362.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.09795, allocations: 180.2 kB / 362.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.09799, allocations: 4.375 kB / 362.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.09801, allocations: 4.375 kB / 362.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.09826, allocations: 101.9 kB / 362.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.09828, allocations: 0 / 362.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.0983, allocations: 4 kB / 362.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.09831, allocations: 0 / 362.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.09853, allocations: 71.95 kB / 362.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.09911, allocations: 360.6 kB / 363.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.09933, allocations: 82.55 kB / 363.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.09945, allocations: 36.95 kB / 363.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.09947, allocations: 0 / 363.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.0995, allocations: 34.56 kB / 363.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.0995, allocations: 4 kB / 363.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004268/0.09993, allocations: 145.5 kB / 363.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.09998, allocations: 51.41 kB / 363.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1001, allocations: 129.2 kB / 363.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1001, allocations: 29.7 kB / 363.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1002, allocations: 95.98 kB / 363.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1002, allocations: 15.8 kB / 363.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1002, allocations: 13.72 kB / 363.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1004, allocations: 314.8 kB / 364.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1005, allocations: 39.97 kB / 364.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.1006, allocations: 31.92 kB / 364.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1008, allocations: 76.81 kB / 364.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1008, allocations: 0 / 364.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00026/0.1011, allocations: 109.9 kB / 364.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1011, allocations: 4 kB / 364.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1011, allocations: 0 / 364.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1011, allocations: 11.92 kB / 364.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1013, allocations: 24.05 kB / 364.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1013, allocations: 3.938 kB / 364.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.1014, allocations: 19.92 kB / 364.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1014, allocations: 4 kB / 364.5 MB, free: 8.457 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 8.293e-05/0.1015, allocations: 113.8 kB / 364.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1015, allocations: 7.906 kB / 364.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1018, allocations: 129.5 kB / 364.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1018, allocations: 0 / 364.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1019, allocations: 3.938 kB / 364.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1019, allocations: 0 / 364.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1021, allocations: 193.6 kB / 365 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1021, allocations: 0 / 365 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.1022, allocations: 23.98 kB / 365 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1022, allocations: 4 kB / 365 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.1022, allocations: 0 / 365 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1022, allocations: 0 / 365 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1022, allocations: 3.938 kB / 365 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.1026, allocations: 219.3 kB / 365.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.1026, allocations: 81.02 kB / 365.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1026, allocations: 4 kB / 365.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1027, allocations: 11.98 kB / 365.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1028, allocations: 7.922 kB / 365.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1028, allocations: 8 kB / 365.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.1028, allocations: 99.27 kB / 365.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1028, allocations: 0 / 365.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000228/0.1031, allocations: 12 kB / 365.4 MB, free: 7.453 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.0001029/0.1032, allocations: 95.25 kB / 365.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1035, allocations: 76.08 kB / 365.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1035, allocations: 3.938 kB / 365.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1036, allocations: 40.09 kB / 365.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1039, allocations: 8 kB / 365.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.1043, allocations: 254.3 kB / 365.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1046, allocations: 0.6926 MB / 366.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1047, allocations: 15.42 kB / 366.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1047, allocations: 0 / 366.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of Templates: time 0.002459/0.1072, allocations: 0.9399 MB / 367.5 MB, free: 5.273 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches