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.001226/0.001226, allocations: 79.73 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.001231/0.001231, allocations: 169.7 kB / 25.33 MB, free: 9.441 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.9879/0.9879, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.395e-06/2.395e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.37e-05, allocations: 5.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003671/0.003705, allocations: 1.591 MB / 252.6 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004762, allocations: 0.5619 MB / 253.2 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.004825, allocations: 0 / 253.2 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.004874, allocations: 7.875 kB / 253.2 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.004975, allocations: 15.86 kB / 253.2 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.005278, allocations: 43.83 kB / 253.3 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.005385, allocations: 55.78 kB / 253.3 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.005511, allocations: 23.97 kB / 253.3 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.005644, allocations: 27.92 kB / 253.4 MB, free: 1.246 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.005701, allocations: 19.92 kB / 253.4 MB, free: 1.227 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.005722, allocations: 4 kB / 253.4 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.006002, allocations: 51.83 kB / 253.4 MB, free: 1.172 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.006035, allocations: 7.984 kB / 253.5 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.006073, allocations: 11.94 kB / 253.5 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006315, allocations: 75.77 kB / 253.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.00632, allocations: 0 / 253.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.006322, allocations: 0 / 253.5 MB, free: 1.078 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.00633, allocations: 0 / 253.5 MB, free: 1.078 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.0006785/0.007009, allocations: 408.3 kB / 253.9 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.00706, allocations: 11.98 kB / 254 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.007444, allocations: 48.8 kB / 254 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.007559, allocations: 124.4 kB / 254.1 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.007584, allocations: 8.375 kB / 254.1 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.0076, allocations: 4.375 kB / 254.1 MB, free: 436 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.00784, allocations: 82.8 kB / 254.2 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.007852, allocations: 192 / 254.2 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.00787, allocations: 8.375 kB / 254.2 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.007883, allocations: 11.92 kB / 254.2 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.007962, allocations: 23.92 kB / 254.3 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.008539, allocations: 319.6 kB / 254.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.008681, allocations: 54.97 kB / 254.6 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.008726, allocations: 15.69 kB / 254.6 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.008742, allocations: 0 / 254.6 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.008769, allocations: 33.39 kB / 254.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.00877, allocations: 0 / 254.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002445/0.009014, allocations: 73.94 kB / 254.7 MB, free: 15.74 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.009051, allocations: 51.41 kB / 254.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.009157, allocations: 177.9 kB / 255 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.009174, allocations: 29.7 kB / 255 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.009398, allocations: 142.8 kB / 255.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.009428, allocations: 15.91 kB / 255.1 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.009479, allocations: 23.36 kB / 255.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.009625, allocations: 0.4922 MB / 255.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.009672, allocations: 4.062 kB / 255.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.009704, allocations: 15.98 kB / 255.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.009787, allocations: 23.69 kB / 255.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009789, allocations: 0 / 255.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.009928, allocations: 57.64 kB / 255.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.00995, allocations: 4 kB / 255.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.009957, allocations: 3.938 kB / 255.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.009983, allocations: 7.938 kB / 255.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01012, allocations: 11.98 kB / 255.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.01013, allocations: 4 kB / 255.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.01018, allocations: 11.98 kB / 255.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.01019, allocations: 0 / 255.8 MB, free: 14.61 MB / 250.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 0.0001134/0.01031, allocations: 164.5 kB / 256 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.01035, allocations: 7.953 kB / 256 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.01056, allocations: 73.72 kB / 256 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.01057, allocations: 0 / 256 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01057, allocations: 4 kB / 256.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01058, allocations: 0 / 256.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.01077, allocations: 140.5 kB / 256.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01077, allocations: 0 / 256.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.01085, allocations: 16 kB / 256.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01086, allocations: 0 / 256.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01087, allocations: 12.23 kB / 256.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01088, allocations: 4 kB / 256.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01088, allocations: 0 / 256.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.01108, allocations: 211.8 kB / 256.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.0111, allocations: 7.938 kB / 256.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01111, allocations: 0 / 256.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.01119, allocations: 11.98 kB / 256.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.01122, allocations: 0 / 256.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01123, allocations: 7.984 kB / 256.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.01129, allocations: 139.5 kB / 256.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01129, allocations: 0 / 256.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.01153, allocations: 16 kB / 256.6 MB, free: 13.73 MB / 250.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 0.000113/0.01165, allocations: 95.23 kB / 256.7 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.01179, allocations: 31.67 kB / 256.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01179, allocations: 0 / 256.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.01183, allocations: 23.62 kB / 256.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.01211, allocations: 18.58 kB / 256.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.01259, allocations: 184.9 kB / 257 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01264, allocations: 63.34 kB / 257 MB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.01268, allocations: 4 kB / 257 MB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.01273, allocations: 8.5 kB / 257 MB, free: 13.25 MB / 250.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01273, allocations: 4 kB / 257 MB, free: 13.25 MB / 250.7 MB Notification: Performance of Templates: time 0.003213/0.01594, allocations: 0.8376 MB / 257.9 MB, free: 12.41 MB / 250.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.6611042371951044]