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.001402/0.001402, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.001518/0.001518, allocations: 161.4 kB / 25.6 MB, free: 8.477 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 1.128/1.128, allocations: 158.6 MB / 187.5 MB, free: 2.773 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 1.503e-06/1.503e-06, allocations: 0 / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.376e-05, allocations: 2.312 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002491/0.002515, allocations: 1.592 MB / 253.1 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.003413, allocations: 0.5502 MB / 253.6 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.003472, allocations: 4 kB / 253.6 MB, free: 5.055 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.003507, allocations: 7.922 kB / 253.6 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.003596, allocations: 7.875 kB / 253.6 MB, free: 5.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.003847, allocations: 47.83 kB / 253.7 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.003929, allocations: 55.84 kB / 253.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004037, allocations: 19.97 kB / 253.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.004087, allocations: 27.92 kB / 253.8 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.004134, allocations: 19.91 kB / 253.8 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.004152, allocations: 8 kB / 253.8 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.00431, allocations: 39.89 kB / 253.9 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.004332, allocations: 11.94 kB / 253.9 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.004356, allocations: 23.91 kB / 253.9 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004488, allocations: 67.73 kB / 254 MB, free: 4.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00449, allocations: 4 kB / 254 MB, free: 4.719 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00449, allocations: 4 kB / 254 MB, free: 4.715 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004495, allocations: 0 / 254 MB, free: 4.715 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.00034/0.004835, allocations: 396.3 kB / 254.3 MB, free: 4.293 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.004876, allocations: 15.98 kB / 254.4 MB, free: 4.277 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.005107, allocations: 52.8 kB / 254.4 MB, free: 4.227 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.005178, allocations: 116.5 kB / 254.5 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.005193, allocations: 8.375 kB / 254.5 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.005202, allocations: 4.375 kB / 254.5 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.005336, allocations: 90.78 kB / 254.6 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.005343, allocations: 192 / 254.6 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.005353, allocations: 4.375 kB / 254.6 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.005357, allocations: 3.938 kB / 254.6 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.005395, allocations: 15.98 kB / 254.7 MB, free: 3.953 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.005858, allocations: 304.2 kB / 255 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.038e-05/0.005938, allocations: 43.05 kB / 255 MB, free: 3.574 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.005964, allocations: 19.67 kB / 255 MB, free: 3.551 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.005982, allocations: 4 kB / 255 MB, free: 3.547 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.006004, allocations: 37.38 kB / 255.1 MB, free: 3.5 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.006005, allocations: 0 / 255.1 MB, free: 3.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001396/0.006145, allocations: 65.7 kB / 255.1 MB, free: 3.43 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.006185, allocations: 51.41 kB / 255.2 MB, free: 3.367 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.00628, allocations: 173.9 kB / 255.3 MB, free: 3.18 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.006294, allocations: 25.7 kB / 255.4 MB, free: 3.148 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.006347, allocations: 146.8 kB / 255.5 MB, free: 3 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.006372, allocations: 19.83 kB / 255.5 MB, free: 2.98 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.006404, allocations: 23.38 kB / 255.5 MB, free: 2.949 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.006529, allocations: 0.4923 MB / 256 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.00655, allocations: 4 kB / 256 MB, free: 2.441 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.006568, allocations: 7.984 kB / 256.1 MB, free: 2.434 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.006611, allocations: 27.62 kB / 256.1 MB, free: 2.402 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006613, allocations: 0 / 256.1 MB, free: 2.402 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.279e-05/0.006695, allocations: 57.95 kB / 256.1 MB, free: 2.34 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.006707, allocations: 4 kB / 256.1 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006713, allocations: 0 / 256.1 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006723, allocations: 4.062 kB / 256.1 MB, free: 2.332 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.0068, allocations: 15.98 kB / 256.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.006805, allocations: 8 kB / 256.2 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.006836, allocations: 11.97 kB / 256.2 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.006841, allocations: 0 / 256.2 MB, free: 2.297 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.064e-05/0.006911, allocations: 164.5 kB / 256.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.00693, allocations: 11.89 kB / 256.4 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.007066, allocations: 65.73 kB / 256.4 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007069, allocations: 0 / 256.4 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.007074, allocations: 3.984 kB / 256.4 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.007078, allocations: 4 kB / 256.4 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.0072, allocations: 113.2 kB / 256.5 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007202, allocations: 0 / 256.5 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.007258, allocations: 19.92 kB / 256.6 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.00726, allocations: 0 / 256.6 MB, free: 1.879 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.007268, allocations: 8 kB / 256.6 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00727, allocations: 0 / 256.6 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007271, allocations: 0 / 256.6 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.007423, allocations: 207.8 kB / 256.8 MB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.007435, allocations: 11.89 kB / 256.8 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.00745, allocations: 7.984 kB / 256.8 MB, free: 1.629 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.007492, allocations: 4 kB / 256.8 MB, free: 1.625 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.007528, allocations: 11.98 kB / 256.8 MB, free: 1.613 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007533, allocations: 0 / 256.8 MB, free: 1.613 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.367e-05/0.007587, allocations: 135.5 kB / 256.9 MB, free: 1.48 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007587, allocations: 0 / 256.9 MB, free: 1.48 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.007733, allocations: 11.94 kB / 256.9 MB, free: 1.469 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 9.818e-05/0.007831, allocations: 95.25 kB / 257 MB, free: 1.363 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.757e-05/0.007928, allocations: 35.73 kB / 257.1 MB, free: 1.324 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.007931, allocations: 4 kB / 257.1 MB, free: 1.32 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.007957, allocations: 19.67 kB / 257.1 MB, free: 1.297 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.008157, allocations: 8 kB / 257.1 MB, free: 1.289 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.00852, allocations: 188.9 kB / 257.3 MB, free: 1.078 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.008567, allocations: 59.34 kB / 257.3 MB, free: 1 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.008602, allocations: 8 kB / 257.4 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.008675, allocations: 78.19 kB / 257.4 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of SimCode: time 1.253e-06/0.008676, allocations: 0 / 257.4 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of Templates: time 0.003145/0.01182, allocations: 0.8746 MB / 258.3 MB, free: 52 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.9699929556809366]