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.001481/0.001481, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001543/0.001543, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2475, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002686/0.2502, allocations: 1.579 MB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.2512, allocations: 0.5126 MB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.2512, allocations: 8 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.2513, allocations: 7.875 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.2514, allocations: 11.91 kB / 403.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.2516, allocations: 43.84 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.2517, allocations: 55.78 kB / 403.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2518, allocations: 23.97 kB / 403.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.2519, allocations: 23.88 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.252, allocations: 27.84 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.252, allocations: 7.938 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.2522, allocations: 39.97 kB / 403.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.2522, allocations: 11.98 kB / 403.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.2522, allocations: 27.8 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2524, allocations: 91.64 kB / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2524, allocations: 0 / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2524, allocations: 0 / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2524, allocations: 0 / 403.9 MB, free: 6.383 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.0004403/0.2529, allocations: 376.4 kB / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2529, allocations: 11.89 kB / 404.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.2533, allocations: 48.78 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2534, allocations: 172.2 kB / 404.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2534, allocations: 4.359 kB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.2535, allocations: 11.94 kB / 404.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2537, allocations: 89.58 kB / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2537, allocations: 0 / 404.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2537, allocations: 8 kB / 404.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2537, allocations: 0 / 404.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.254, allocations: 63.95 kB / 404.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.2545, allocations: 356.5 kB / 405 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2547, allocations: 66.55 kB / 405.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2549, allocations: 40.95 kB / 405.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.2549, allocations: 0 / 405.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2549, allocations: 30.56 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 3.517e-06/0.2549, allocations: 4 kB / 405.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004085/0.2553, allocations: 133.3 kB / 405.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2554, allocations: 51.41 kB / 405.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2555, allocations: 124.5 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2555, allocations: 25.7 kB / 405.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.2556, allocations: 100 kB / 405.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2556, allocations: 15.75 kB / 405.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.2556, allocations: 21.7 kB / 405.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2557, allocations: 318.8 kB / 405.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.2558, allocations: 23.97 kB / 405.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.2559, allocations: 23.98 kB / 406 MB, free: 4.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2561, allocations: 64.81 kB / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2561, allocations: 0 / 406 MB, free: 4.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002428/0.2564, allocations: 93.88 kB / 406.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2564, allocations: 8 kB / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2564, allocations: 64 / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2564, allocations: 7.938 kB / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2566, allocations: 19.97 kB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2566, allocations: 3.938 kB / 406.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.2567, allocations: 12 kB / 406.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2567, allocations: 3.984 kB / 406.2 MB, free: 3.875 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 7.451e-05/0.2568, allocations: 113.8 kB / 406.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2568, allocations: 7.906 kB / 406.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.2571, allocations: 117.5 kB / 406.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2572, allocations: 3.938 kB / 406.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2572, allocations: 0 / 406.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2572, allocations: 84.95 kB / 406.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2572, allocations: 0 / 406.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2573, allocations: 15.98 kB / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.2574, allocations: 0 / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003231/0.2577, allocations: 184.9 kB / 406.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003077/0.258, allocations: 274.7 kB / 406.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001112/0.2582, allocations: 27.98 kB / 407 MB, free: 3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.156e-05/0.2582, allocations: 95.27 kB / 407.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of Backend: time 3.11e-07/0.2582, allocations: 4 kB / 407.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.2587, allocations: 122.4 kB / 407.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005388/0.2593, allocations: 0.6155 MB / 407.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Templates: time 0.003817/0.2631, allocations: 1.355 MB / 409.2 MB, free: 0.7656 MB / 318.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/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