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.001029/0.001029, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001176/0.001176, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9764/0.9764, allocations: 158.6 MB / 186 MB, free: 2.555 MB / 170.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.1372/0.1372, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.502e-06/1.502e-06, allocations: 3.938 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.039e-05, allocations: 8.281 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0009158/0.0009362, allocations: 0.5275 MB / 348.2 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.002993, allocations: 2.277 MB / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.003012, allocations: 0 / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.003023, allocations: 0 / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.003028, allocations: 0 / 350.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.003977, allocations: 0.58 MB / 351.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.92e-05/0.004016, allocations: 4 kB / 351.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.719e-05/0.004044, allocations: 4 kB / 351.1 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.004076, allocations: 4 kB / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.519e-05/0.004091, allocations: 0 / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.004098, allocations: 0 / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.004693, allocations: 0.6665 MB / 351.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-06/0.004699, allocations: 0 / 351.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.004713, allocations: 4 kB / 351.7 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.005127, allocations: 0.5181 MB / 352.3 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005129, allocations: 0 / 352.3 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00513, allocations: 0 / 352.3 MB, free: 5.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.005135, allocations: 0 / 352.3 MB, free: 5.16 MB / 282.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.0002549/0.005389, allocations: 465 kB / 352.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.005418, allocations: 12.03 kB / 352.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.005444, allocations: 0.9375 kB / 352.7 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.013e-05/0.005484, allocations: 112.6 kB / 352.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.005494, allocations: 4.375 kB / 352.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.0055, allocations: 384 / 352.8 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.005573, allocations: 55.91 kB / 352.9 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.00558, allocations: 8.125 kB / 352.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005589, allocations: 384 / 352.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.005598, allocations: 3.938 kB / 352.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.005615, allocations: 29.69 kB / 352.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.716e-05/0.005682, allocations: 108.6 kB / 353 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.058e-05/0.005712, allocations: 48.77 kB / 353.1 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.005726, allocations: 41.48 kB / 353.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.005732, allocations: 4 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.005757, allocations: 63.03 kB / 353.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.005758, allocations: 0 / 353.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.005891, allocations: 118.8 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005917, allocations: 81.05 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.365e-05/0.00594, allocations: 142.2 kB / 353.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.005947, allocations: 29.7 kB / 353.6 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.166e-05/0.005958, allocations: 130.9 kB / 353.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.005971, allocations: 352 / 353.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.005993, allocations: 27.48 kB / 353.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.006045, allocations: 492.1 kB / 354.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.006057, allocations: 29.7 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.006065, allocations: 25.7 kB / 354.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.006103, allocations: 71.03 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.006105, allocations: 0 / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.828e-05/0.006153, allocations: 93.05 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.00617, allocations: 29.7 kB / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006174, allocations: 0 / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.006185, allocations: 4.094 kB / 354.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.006187, allocations: 4 kB / 354.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.006193, allocations: 3.938 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-06/0.006203, allocations: 0 / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.006208, allocations: 0 / 354.4 MB, free: 2.664 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 4.533e-05/0.006253, allocations: 186.3 kB / 354.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-06/0.006257, allocations: 0 / 354.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-06/0.006266, allocations: 7 kB / 354.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.006267, allocations: 0 / 354.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.00627, allocations: 4 kB / 354.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.006274, allocations: 11.88 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.421e-05/0.006308, allocations: 108.6 kB / 354.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.006309, allocations: 0 / 354.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.006309, allocations: 0 / 354.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.00631, allocations: 0 / 354.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.006316, allocations: 11.98 kB / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.006317, allocations: 0 / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006317, allocations: 0 / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.314e-05/0.00637, allocations: 127.8 kB / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-06/0.006374, allocations: 3.984 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.006387, allocations: 7.984 kB / 354.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-06/0.006391, allocations: 4.031 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.0064, allocations: 0 / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.006401, allocations: 0 / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.604e-05/0.006417, allocations: 123.1 kB / 355 MB, free: 1.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006417, allocations: 4 kB / 355 MB, free: 1.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.006673, allocations: 155.4 kB / 355.2 MB, free: 1.836 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.0004823/0.007155, allocations: 384.8 kB / 355.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.007221, allocations: 114.5 kB / 355.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007223, allocations: 4 kB / 355.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.007237, allocations: 88.78 kB / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.092e-05/0.007318, allocations: 4 kB / 355.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001252/0.007443, allocations: 118.5 kB / 355.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.514e-05/0.007458, allocations: 51.36 kB / 355.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.358e-06/0.007463, allocations: 0 / 355.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-06/0.007472, allocations: 16.62 kB / 355.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.007473, allocations: 0 / 355.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of Templates: time 0.00461/0.01208, allocations: 3.542 MB / 359.5 MB, free: 13.43 MB / 298.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 -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: 3.315973588032648]