Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.0008965/0.0008965, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004903/0.0058, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001067/0.001067, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002517, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9759/0.9759, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1849/1.161, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1337/0.1337, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02179/0.1555, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.18e-05, allocations: 6.25 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.002244/0.002276, allocations: 0.5671 MB / 267.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.005746, allocations: 2.296 MB / 270.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.005763, allocations: 0 / 270.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.39e-06/0.005768, allocations: 3.938 kB / 270.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.803e-06/0.00577, allocations: 0 / 270.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.007415, allocations: 0.5137 MB / 270.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.007485, allocations: 3.938 kB / 270.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.007528, allocations: 15.97 kB / 270.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.007567, allocations: 0 / 270.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.007591, allocations: 0 / 270.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-06/0.007598, allocations: 0 / 270.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.008954, allocations: 0.7134 MB / 271.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.008963, allocations: 0 / 271.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.008978, allocations: 0 / 271.3 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.00977, allocations: 434.9 kB / 271.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.009784, allocations: 0 / 271.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.009786, allocations: 0 / 271.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.009802, allocations: 4 kB / 271.8 MB, free: 1.965 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005375/0.01034, allocations: 389.3 kB / 272.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.01038, allocations: 11.97 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.01042, allocations: 0.9375 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.01049, allocations: 105.8 kB / 272.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.0105, allocations: 4.375 kB / 272.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.0105, allocations: 384 / 272.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.579e-05/0.01059, allocations: 63.89 kB / 272.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.0106, allocations: 192 / 272.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.0106, allocations: 384 / 272.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01061, allocations: 3.938 kB / 272.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.01063, allocations: 29.7 kB / 272.3 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.473e-05/0.01071, allocations: 57.05 kB / 272.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.01076, allocations: 48.3 kB / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.01078, allocations: 38.62 kB / 272.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-06/0.01078, allocations: 4 kB / 272.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.01082, allocations: 60.2 kB / 272.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.01082, allocations: 0 / 272.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.01095, allocations: 114.8 kB / 272.7 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.011, allocations: 77.11 kB / 272.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.01103, allocations: 89.86 kB / 272.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.01104, allocations: 25.7 kB / 272.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.01107, allocations: 84.14 kB / 272.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.01109, allocations: 3.953 kB / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.01112, allocations: 9.719 kB / 272.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.01121, allocations: 326.9 kB / 273.3 MB, free: 252 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.01122, allocations: 25.7 kB / 273.3 MB, free: 220 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.01124, allocations: 29.69 kB / 273.3 MB, free: 184 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.0113, allocations: 68.2 kB / 273.4 MB, free: 100 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0113, allocations: 4 kB / 273.4 MB, free: 96 kB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.636e-05/0.01138, allocations: 85.09 kB / 273.5 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.01142, allocations: 29.7 kB / 273.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01143, allocations: 0 / 273.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.01144, allocations: 7.984 kB / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-06/0.01144, allocations: 4.094 kB / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01145, allocations: 0 / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.01147, allocations: 0 / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.01147, allocations: 3.938 kB / 273.5 MB, free: 15.94 MB / 282.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.403e-05/0.01155, allocations: 139.5 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.01156, allocations: 0 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.01157, allocations: 10.92 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01157, allocations: 4 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01158, allocations: 4 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01158, allocations: 0 / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.588e-05/0.01163, allocations: 65.84 kB / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.01164, allocations: 0 / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.01164, allocations: 0 / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.01164, allocations: 4 kB / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01164, allocations: 0 / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.01165, allocations: 0 / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01165, allocations: 0 / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01165, allocations: 0 / 273.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.01174, allocations: 120.5 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.01175, allocations: 0 / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.01176, allocations: 3.984 kB / 273.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-06/0.01177, allocations: 4.031 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.01177, allocations: 4 kB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.774e-06/0.01178, allocations: 4.859 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01178, allocations: 3.938 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00047/0.01225, allocations: 159.3 kB / 274 MB, free: 15.36 MB / 282.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007712/0.01302, allocations: 365.3 kB / 274.4 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.01313, allocations: 119.7 kB / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.01314, allocations: 0 / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.01317, allocations: 85.97 kB / 274.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.868e-05/0.01323, allocations: 7.938 kB / 274.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001741/0.0134, allocations: 108.8 kB / 274.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.01344, allocations: 51.36 kB / 274.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.775e-06/0.01344, allocations: 3.984 kB / 274.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.01348, allocations: 59.38 kB / 274.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01348, allocations: 4.125 kB / 274.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of Templates: time 0.007661/0.02114, allocations: 4.194 MB / 279 MB, free: 10.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.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.866362211294472]