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.001211/0.001211, allocations: 108.4 kB / 18.4 MB, free: 4.656 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.001258/0.001258, allocations: 186.1 kB / 19.34 MB, free: 3.734 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.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001348/0.001348, allocations: 51.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08873, allocations: 46.63 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002743/0.09152, allocations: 1.56 MB / 377.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.09259, allocations: 0.5656 MB / 378 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.09267, allocations: 0 / 378 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.09274, allocations: 11.86 kB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.09283, allocations: 3.938 kB / 378 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.09309, allocations: 47.83 kB / 378 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.09319, allocations: 47.91 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.09332, allocations: 23.98 kB / 378.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.09337, allocations: 27.8 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.09345, allocations: 27.84 kB / 378.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.09348, allocations: 8 kB / 378.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.09371, allocations: 35.97 kB / 378.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.09375, allocations: 11.94 kB / 378.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.09379, allocations: 31.78 kB / 378.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.09397, allocations: 83.7 kB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09398, allocations: 0 / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09399, allocations: 0 / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.094, allocations: 4 kB / 378.3 MB, free: 2.059 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.0004572/0.09447, allocations: 379.2 kB / 378.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.09451, allocations: 11.89 kB / 378.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.09489, allocations: 52.78 kB / 378.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.09504, allocations: 172.2 kB / 378.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.09508, allocations: 4.375 kB / 378.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.09511, allocations: 12.31 kB / 378.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.09534, allocations: 89.95 kB / 379 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.09536, allocations: 3.938 kB / 379 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.09537, allocations: 4 kB / 379 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.09538, allocations: 0 / 379 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.0956, allocations: 59.95 kB / 379.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.09622, allocations: 352.6 kB / 379.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.09643, allocations: 66.55 kB / 379.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.09656, allocations: 36.95 kB / 379.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.09658, allocations: 0 / 379.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.09662, allocations: 38.56 kB / 379.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.09663, allocations: 0 / 379.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004155/0.09705, allocations: 129.5 kB / 379.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.0971, allocations: 51.41 kB / 379.8 MB, free: 456 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.09721, allocations: 126.1 kB / 379.9 MB, free: 320 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.09723, allocations: 25.7 kB / 379.9 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.0973, allocations: 104 kB / 380 MB, free: 180 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.09733, allocations: 15.8 kB / 380 MB, free: 164 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.09738, allocations: 21.7 kB / 380 MB, free: 136 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.175/0.2724, allocations: 314.8 kB / 380.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2726, allocations: 24.19 kB / 380.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.2727, allocations: 29.06 kB / 380.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2729, allocations: 55.86 kB / 380.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2729, allocations: 2.094 kB / 380.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002456/0.2732, allocations: 93.42 kB / 380.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2732, allocations: 7.422 kB / 380.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2732, allocations: 0 / 380.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2733, allocations: 4.156 kB / 380.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2734, allocations: 22.3 kB / 380.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2734, allocations: 1.375 kB / 380.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.2735, allocations: 18.31 kB / 380.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2735, allocations: 2.219 kB / 380.6 MB, free: 12.74 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.156e-05/0.2736, allocations: 114 kB / 380.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2736, allocations: 6.031 kB / 380.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.2739, allocations: 113.3 kB / 380.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2739, allocations: 0.6562 kB / 380.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2739, allocations: 2.188 kB / 380.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.274, allocations: 88.67 kB / 380.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.274, allocations: 0.75 kB / 380.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2741, allocations: 12.8 kB / 380.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.2741, allocations: 8.375 kB / 380.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002781/0.2744, allocations: 178 kB / 381.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002656/0.2747, allocations: 285.4 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001004/0.2748, allocations: 32.27 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.2749, allocations: 96.59 kB / 381.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Backend: time 4.21e-07/0.2749, allocations: 0 / 381.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.2753, allocations: 117.3 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of SimCode: time 0.000435/0.2758, allocations: 0.6022 MB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Templates: time 0.004253/0.28, allocations: 1.389 MB / 383.6 MB, free: 11.38 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