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.001287/0.001287, allocations: 110 kB / 18.4 MB, free: 4.699 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.001205/0.001205, allocations: 190.3 kB / 19.33 MB, free: 3.781 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.284/1.284, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001277/0.001277, allocations: 55.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08634, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00293/0.08931, allocations: 1.568 MB / 377.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.0904, allocations: 0.567 MB / 378 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.0905, allocations: 4 kB / 378 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.09057, allocations: 3.938 kB / 378 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.09067, allocations: 7.875 kB / 378 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.09095, allocations: 47.83 kB / 378 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.09105, allocations: 51.89 kB / 378.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.09119, allocations: 16 kB / 378.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.09125, allocations: 27.86 kB / 378.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.09131, allocations: 23.86 kB / 378.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.09134, allocations: 8 kB / 378.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.09154, allocations: 47.88 kB / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.09157, allocations: 11.94 kB / 378.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.09161, allocations: 27.8 kB / 378.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.09179, allocations: 79.77 kB / 378.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.0918, allocations: 0 / 378.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.0918, allocations: 0 / 378.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.09181, allocations: 0 / 378.3 MB, free: 2.09 MB / 318.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.0004738/0.09229, allocations: 383.2 kB / 378.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.09234, allocations: 11.89 kB / 378.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.09273, allocations: 44.8 kB / 378.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.09287, allocations: 180.2 kB / 378.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.0929, allocations: 12.31 kB / 378.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.09293, allocations: 4.375 kB / 378.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.09316, allocations: 93.95 kB / 379 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.09318, allocations: 3.938 kB / 379 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.0932, allocations: 0 / 379 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09321, allocations: 0 / 379 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.09342, allocations: 71.94 kB / 379.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.09402, allocations: 352.6 kB / 379.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.09423, allocations: 74.47 kB / 379.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.09434, allocations: 32.95 kB / 379.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.09436, allocations: 0 / 379.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.09439, allocations: 30.56 kB / 379.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.0944, allocations: 8 kB / 379.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003908/0.0948, allocations: 117.5 kB / 379.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.09484, allocations: 55.39 kB / 379.7 MB, free: 476 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.09495, allocations: 126.1 kB / 379.9 MB, free: 340 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.09497, allocations: 25.7 kB / 379.9 MB, free: 308 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.09502, allocations: 104 kB / 380 MB, free: 200 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.09505, allocations: 15.81 kB / 380 MB, free: 184 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.0951, allocations: 25.64 kB / 380 MB, free: 152 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1703/0.2654, allocations: 314.8 kB / 380.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2656, allocations: 22.75 kB / 380.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.2657, allocations: 27.89 kB / 380.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.2659, allocations: 59.27 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2659, allocations: 2.531 kB / 380.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002631/0.2662, allocations: 90.52 kB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2662, allocations: 6.062 kB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2662, allocations: 0 / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2663, allocations: 1.156 kB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.2664, allocations: 25.7 kB / 380.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2664, allocations: 3.75 kB / 380.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.2665, allocations: 17.42 kB / 380.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2666, allocations: 1.766 kB / 380.6 MB, free: 12.79 MB / 318.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 6.883e-05/0.2666, allocations: 116.5 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2667, allocations: 5.484 kB / 380.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.267, allocations: 111.3 kB / 380.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.267, allocations: 2.562 kB / 380.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.267, allocations: 4.359 kB / 380.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.267, allocations: 0 / 380.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2672, allocations: 187.7 kB / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2672, allocations: 5.531 kB / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.2673, allocations: 18.81 kB / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2673, allocations: 0 / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2673, allocations: 5.531 kB / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.2673, allocations: 3.938 kB / 381 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2673, allocations: 4.281 kB / 381 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2676, allocations: 201.5 kB / 381.2 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.2676, allocations: 83.38 kB / 381.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2676, allocations: 0.6562 kB / 381.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2677, allocations: 14.38 kB / 381.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2678, allocations: 3.531 kB / 381.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2678, allocations: 4.438 kB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.2678, allocations: 94.97 kB / 381.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.011e-06/0.2678, allocations: 3.812 kB / 381.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.2681, allocations: 20.16 kB / 381.5 MB, free: 12.15 MB / 318.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 8.405e-05/0.2682, allocations: 97.97 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.2684, allocations: 59.97 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2684, allocations: 0.9375 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2685, allocations: 35.86 kB / 381.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2688, allocations: 9.047 kB / 381.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.2693, allocations: 224.3 kB / 381.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2694, allocations: 0.6903 MB / 382.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.2695, allocations: 15.12 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2695, allocations: 0 / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.002544/0.272, allocations: 0.9859 MB / 383.6 MB, free: 11.16 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches