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.001053/0.001053, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001105/0.001105, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.9401/0.9401, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.114e-06/2.114e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.83e-05, allocations: 6.25 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00218/0.002209, allocations: 1.6 MB / 252.6 MB, free: 5.895 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.003191, allocations: 0.5502 MB / 253.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.003243, allocations: 7.938 kB / 253.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.003282, allocations: 7.875 kB / 253.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.003367, allocations: 7.938 kB / 253.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.003663, allocations: 51.81 kB / 253.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.003755, allocations: 47.84 kB / 253.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.003895, allocations: 23.97 kB / 253.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.00395, allocations: 23.92 kB / 253.4 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.004004, allocations: 19.92 kB / 253.4 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.004023, allocations: 4 kB / 253.4 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.004204, allocations: 51.83 kB / 253.4 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.004225, allocations: 15.92 kB / 253.5 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.004251, allocations: 15.94 kB / 253.5 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.00441, allocations: 71.77 kB / 253.5 MB, free: 4.992 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004413, allocations: 0 / 253.5 MB, free: 4.992 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.004414, allocations: 0 / 253.5 MB, free: 4.992 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004419, allocations: 0 / 253.5 MB, free: 4.992 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.0003908/0.00481, allocations: 400.3 kB / 253.9 MB, free: 4.566 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.004851, allocations: 11.98 kB / 253.9 MB, free: 4.555 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.005112, allocations: 56.8 kB / 254 MB, free: 4.5 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.005207, allocations: 120.5 kB / 254.1 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.005225, allocations: 8.375 kB / 254.1 MB, free: 4.348 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.00524, allocations: 4.375 kB / 254.1 MB, free: 4.344 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.005416, allocations: 86.53 kB / 254.2 MB, free: 4.254 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005426, allocations: 192 / 254.2 MB, free: 4.254 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.00544, allocations: 8.375 kB / 254.2 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.00545, allocations: 3.938 kB / 254.2 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.005511, allocations: 23.97 kB / 254.2 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.00597, allocations: 327.6 kB / 254.6 MB, free: 3.863 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.006068, allocations: 54.97 kB / 254.6 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.006102, allocations: 19.62 kB / 254.6 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.00612, allocations: 0 / 254.6 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.006147, allocations: 37.39 kB / 254.7 MB, free: 3.727 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.006148, allocations: 0 / 254.7 MB, free: 3.727 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002062/0.006354, allocations: 61.95 kB / 254.7 MB, free: 3.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.006386, allocations: 55.39 kB / 254.8 MB, free: 3.594 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.006478, allocations: 181.9 kB / 255 MB, free: 3.398 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.006491, allocations: 25.7 kB / 255 MB, free: 3.367 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.006554, allocations: 146.8 kB / 255.1 MB, free: 3.219 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.006582, allocations: 15.84 kB / 255.2 MB, free: 3.203 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.006619, allocations: 19.38 kB / 255.2 MB, free: 3.176 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.006767, allocations: 0.5 MB / 255.7 MB, free: 2.664 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.006793, allocations: 4.062 kB / 255.7 MB, free: 2.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.006815, allocations: 11.98 kB / 255.7 MB, free: 2.648 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.006864, allocations: 23.69 kB / 255.7 MB, free: 2.621 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.006867, allocations: 4 kB / 255.7 MB, free: 2.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.48e-05/0.006952, allocations: 57.64 kB / 255.8 MB, free: 2.555 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.006965, allocations: 4 kB / 255.8 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.00697, allocations: 4 kB / 255.8 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.00699, allocations: 0 / 255.8 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.007082, allocations: 19.92 kB / 255.8 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.007088, allocations: 0 / 255.8 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.007118, allocations: 7.984 kB / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.007126, allocations: 4 kB / 255.8 MB, free: 2.516 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 7.481e-05/0.007201, allocations: 160.5 kB / 256 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.007223, allocations: 7.953 kB / 256 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.007367, allocations: 73.78 kB / 256 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.00737, allocations: 4 kB / 256 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.007374, allocations: 0 / 256 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.007378, allocations: 0 / 256 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.007495, allocations: 132.6 kB / 256.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007496, allocations: 0 / 256.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.007543, allocations: 23.86 kB / 256.2 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.007545, allocations: 0 / 256.2 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.007555, allocations: 12.23 kB / 256.2 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.007558, allocations: 8 kB / 256.2 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007559, allocations: 0 / 256.2 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.007689, allocations: 211.8 kB / 256.4 MB, free: 1.82 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.007696, allocations: 3.953 kB / 256.4 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.007707, allocations: 4 kB / 256.4 MB, free: 1.812 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.007748, allocations: 7.984 kB / 256.4 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.007779, allocations: 0 / 256.4 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.007786, allocations: 11.98 kB / 256.5 MB, free: 1.793 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.007827, allocations: 123.6 kB / 256.6 MB, free: 1.672 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007827, allocations: 4 kB / 256.6 MB, free: 1.668 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.00797, allocations: 19.94 kB / 256.6 MB, free: 1.648 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 7.435e-05/0.008045, allocations: 99.5 kB / 256.7 MB, free: 1.539 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.00815, allocations: 31.67 kB / 256.7 MB, free: 1.504 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.008152, allocations: 0 / 256.7 MB, free: 1.504 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.008182, allocations: 23.62 kB / 256.8 MB, free: 1.477 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.008368, allocations: 15.92 kB / 256.8 MB, free: 1.461 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.00873, allocations: 184.9 kB / 256.9 MB, free: 1.254 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.008778, allocations: 59.36 kB / 257 MB, free: 1.176 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.008809, allocations: 7.984 kB / 257 MB, free: 1.168 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.008845, allocations: 8.5 kB / 257 MB, free: 1.16 MB / 234.7 MB Notification: Performance of SimCode: time 8.22e-07/0.008846, allocations: 0 / 257 MB, free: 1.16 MB / 234.7 MB Notification: Performance of Templates: time 0.00253/0.01138, allocations: 0.8083 MB / 257.8 MB, free: 368 kB / 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.9165115421637893]