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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 168.7 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8464/0.8464, allocations: 158.6 MB / 187.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.301e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002092/0.002115, allocations: 1.603 MB / 252.7 MB, free: 6.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007668/0.002882, allocations: 0.5541 MB / 253.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.00293, allocations: 4 kB / 253.3 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.00296, allocations: 11.81 kB / 253.3 MB, free: 5.613 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.003028, allocations: 7.922 kB / 253.3 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.003251, allocations: 39.84 kB / 253.3 MB, free: 5.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.003336, allocations: 59.83 kB / 253.4 MB, free: 5.508 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.003436, allocations: 15.98 kB / 253.4 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.003484, allocations: 27.92 kB / 253.4 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.003532, allocations: 19.91 kB / 253.4 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.003549, allocations: 8 kB / 253.5 MB, free: 5.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.003692, allocations: 47.89 kB / 253.5 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.003709, allocations: 11.92 kB / 253.5 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.003735, allocations: 15.92 kB / 253.5 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003881, allocations: 71.73 kB / 253.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003883, allocations: 0 / 253.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003883, allocations: 0 / 253.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.003888, allocations: 0 / 253.6 MB, free: 5.293 MB / 234.7 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.0003554/0.004243, allocations: 404.3 kB / 254 MB, free: 4.863 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004277, allocations: 11.98 kB / 254 MB, free: 4.852 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.004536, allocations: 56.8 kB / 254.1 MB, free: 4.797 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.004622, allocations: 120.5 kB / 254.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.004638, allocations: 8.312 kB / 254.2 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.004651, allocations: 8.375 kB / 254.2 MB, free: 4.637 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.004795, allocations: 82.91 kB / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.004802, allocations: 192 / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004813, allocations: 384 / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.004825, allocations: 7.938 kB / 254.3 MB, free: 4.539 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.004881, allocations: 23.98 kB / 254.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.005267, allocations: 323.6 kB / 254.6 MB, free: 4.164 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.005353, allocations: 51.03 kB / 254.7 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.005385, allocations: 23.75 kB / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.005399, allocations: 0 / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.005424, allocations: 37.33 kB / 254.7 MB, free: 4.027 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.005425, allocations: 0 / 254.7 MB, free: 4.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001868/0.005612, allocations: 73.81 kB / 254.8 MB, free: 3.949 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.005639, allocations: 55.41 kB / 254.9 MB, free: 3.883 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.005714, allocations: 169.9 kB / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005725, allocations: 25.7 kB / 255 MB, free: 3.668 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.005776, allocations: 150.8 kB / 255.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.005797, allocations: 15.84 kB / 255.2 MB, free: 3.5 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.005829, allocations: 27.36 kB / 255.2 MB, free: 3.465 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.005935, allocations: 0.4883 MB / 255.7 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.005959, allocations: 8 kB / 255.7 MB, free: 2.957 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.005978, allocations: 7.984 kB / 255.7 MB, free: 2.949 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.006023, allocations: 23.62 kB / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.006025, allocations: 0 / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.442e-05/0.006099, allocations: 65.64 kB / 255.8 MB, free: 2.852 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.00611, allocations: 4 kB / 255.8 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006115, allocations: 0 / 255.8 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006127, allocations: 4 kB / 255.8 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.006202, allocations: 11.98 kB / 255.8 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.006206, allocations: 0 / 255.8 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.006236, allocations: 11.98 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.006242, allocations: 3.984 kB / 255.9 MB, free: 2.816 MB / 234.7 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.515e-05/0.006307, allocations: 168.5 kB / 256 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.006324, allocations: 11.95 kB / 256 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.006441, allocations: 69.78 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006443, allocations: 0 / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.006447, allocations: 4 kB / 256.1 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.00645, allocations: 0 / 256.1 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.006556, allocations: 140.5 kB / 256.2 MB, free: 2.379 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006556, allocations: 0 / 256.2 MB, free: 2.379 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.006599, allocations: 16.3 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006601, allocations: 3.938 kB / 256.3 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.006609, allocations: 8 kB / 256.3 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.00661, allocations: 4 kB / 256.3 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.006611, allocations: 3.938 kB / 256.3 MB, free: 2.344 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.006731, allocations: 211.8 kB / 256.5 MB, free: 2.117 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.006738, allocations: 3.953 kB / 256.5 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.006749, allocations: 4 kB / 256.5 MB, free: 2.109 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.006792, allocations: 11.98 kB / 256.5 MB, free: 2.098 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.006823, allocations: 3.984 kB / 256.5 MB, free: 2.094 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.006827, allocations: 0 / 256.5 MB, free: 2.094 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.006874, allocations: 131.2 kB / 256.6 MB, free: 1.965 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006874, allocations: 4 kB / 256.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.007018, allocations: 15.94 kB / 256.7 MB, free: 1.945 MB / 234.7 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 6.757e-05/0.007086, allocations: 95.23 kB / 256.8 MB, free: 1.84 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.007195, allocations: 35.61 kB / 256.8 MB, free: 1.801 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.007196, allocations: 0 / 256.8 MB, free: 1.801 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.00723, allocations: 27.67 kB / 256.8 MB, free: 1.77 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.007417, allocations: 11.94 kB / 256.8 MB, free: 1.758 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.007748, allocations: 180.9 kB / 257 MB, free: 1.551 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.007791, allocations: 63.34 kB / 257.1 MB, free: 1.469 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.00782, allocations: 0 / 257.1 MB, free: 1.469 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.007857, allocations: 16.5 kB / 257.1 MB, free: 1.453 MB / 234.7 MB Notification: Performance of SimCode: time 7.62e-07/0.007857, allocations: 0 / 257.1 MB, free: 1.453 MB / 234.7 MB Notification: Performance of Templates: time 0.002373/0.01023, allocations: 0.8 MB / 257.9 MB, free: 0.6602 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5958338321652263]