Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001889/0.001889, allocations: 117.4 kB / 18.45 MB, free: 4.562 MB / 14.72 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.002362/0.002362, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003365/0.1231, allocations: 1.603 MB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1243, allocations: 0.5727 MB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1243, allocations: 4 kB / 429.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.1244, allocations: 7.875 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.1245, allocations: 7.875 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1248, allocations: 55.81 kB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1249, allocations: 47.84 kB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.125, allocations: 23.98 kB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.125, allocations: 19.92 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.1251, allocations: 23.86 kB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1251, allocations: 4 kB / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.1254, allocations: 59.88 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.1254, allocations: 11.94 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1254, allocations: 27.8 kB / 430 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1256, allocations: 83.64 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1256, allocations: 3.938 kB / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1256, allocations: 0 / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1256, allocations: 4 kB / 430 MB, free: 1.691 MB / 350.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.0006189/0.1263, allocations: 385.7 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1263, allocations: 8.031 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.1267, allocations: 48.83 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.1269, allocations: 180.2 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.1269, allocations: 8.375 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.127, allocations: 8.375 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.1272, allocations: 93.95 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1272, allocations: 0 / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1273, allocations: 0 / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1273, allocations: 4 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.1275, allocations: 63.89 kB / 430.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.1281, allocations: 356.6 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1283, allocations: 70.47 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1285, allocations: 36.95 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1285, allocations: 0 / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1285, allocations: 34.56 kB / 431.3 MB, free: 268 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1285, allocations: 0 / 431.3 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004363/0.1289, allocations: 125.6 kB / 431.4 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.129, allocations: 55.34 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1291, allocations: 125.5 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1291, allocations: 29.7 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.1292, allocations: 100.1 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1292, allocations: 15.84 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.1293, allocations: 21.7 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1294, allocations: 314.8 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1295, allocations: 27.97 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1297, allocations: 27.98 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1298, allocations: 57.2 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1298, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002495/0.1301, allocations: 105.5 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1301, allocations: 4 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1301, allocations: 3.938 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1301, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1303, allocations: 23.98 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1303, allocations: 3.938 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.609e-05/0.1304, allocations: 11.98 kB / 432.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1304, allocations: 4 kB / 432.3 MB, free: 15.16 MB / 366.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 9.19e-05/0.1305, allocations: 109.8 kB / 432.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.1305, allocations: 7.953 kB / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.1308, allocations: 113.5 kB / 432.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1308, allocations: 4 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1309, allocations: 7.875 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1309, allocations: 0 / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1311, allocations: 193.6 kB / 432.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1311, allocations: 3.984 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1312, allocations: 19.98 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1312, allocations: 0 / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1312, allocations: 4 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1312, allocations: 3.984 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1312, allocations: 3.938 kB / 432.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1316, allocations: 195.5 kB / 433 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1316, allocations: 89 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1316, allocations: 3.984 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1317, allocations: 12.19 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1318, allocations: 11.92 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1318, allocations: 7.938 kB / 433.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.719e-05/0.1318, allocations: 95.27 kB / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1318, allocations: 0 / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1321, allocations: 12 kB / 433.2 MB, free: 14.18 MB / 366.1 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.0001265/0.1322, allocations: 95.78 kB / 433.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.1325, allocations: 63.95 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1325, allocations: 0 / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1326, allocations: 35.91 kB / 433.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.133, allocations: 8 kB / 433.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.1335, allocations: 211.2 kB / 433.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1339, allocations: 0.6962 MB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.1339, allocations: 11.44 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1339, allocations: 0 / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.002872/0.1368, allocations: 0.9555 MB / 435.3 MB, free: 12.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.956226370006334]