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.0009107/0.0009107, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00152/0.00152, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9583/0.9583, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1383/0.1383, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.913e-06/1.913e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.43e-05, allocations: 6.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001367/0.001402, allocations: 0.5306 MB / 348.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.003988, allocations: 2.285 MB / 350.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.004008, allocations: 0 / 350.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.004032, allocations: 0 / 350.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-06/0.00404, allocations: 0 / 350.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.005666, allocations: 0.58 MB / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.005727, allocations: 0 / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.005774, allocations: 4 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.005808, allocations: 4 kB / 351.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.358e-05/0.005832, allocations: 0 / 351.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.005841, allocations: 0 / 351.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009292/0.00677, allocations: 0.6626 MB / 351.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.006785, allocations: 0 / 351.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.006819, allocations: 15.97 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.007405, allocations: 0.5142 MB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.007411, allocations: 0 / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.007413, allocations: 0 / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.007422, allocations: 0 / 352.3 MB, free: 4.812 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.000489/0.007911, allocations: 465 kB / 352.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.007957, allocations: 8.031 kB / 352.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.008006, allocations: 0.9375 kB / 352.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.123e-05/0.008057, allocations: 108.6 kB / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.008071, allocations: 8.359 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.008081, allocations: 384 / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.008181, allocations: 67.89 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.008189, allocations: 4.125 kB / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.008199, allocations: 384 / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.008207, allocations: 3.938 kB / 352.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.008224, allocations: 25.7 kB / 352.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.343e-05/0.008317, allocations: 108.6 kB / 353.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.008373, allocations: 52.84 kB / 353.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.00839, allocations: 41.39 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.008396, allocations: 0 / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.008428, allocations: 63.09 kB / 353.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.008429, allocations: 7.938 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001963/0.008625, allocations: 114.8 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.008668, allocations: 81.05 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.194e-05/0.0087, allocations: 142.2 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.008706, allocations: 25.7 kB / 353.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.00872, allocations: 130.9 kB / 353.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.008739, allocations: 4.344 kB / 353.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.008763, allocations: 19.5 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.008811, allocations: 492.1 kB / 354.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.00883, allocations: 33.69 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.008841, allocations: 25.7 kB / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.00888, allocations: 67.03 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.008883, allocations: 0 / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.642e-05/0.008939, allocations: 93.06 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.008966, allocations: 33.69 kB / 354.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.008972, allocations: 4 kB / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.008989, allocations: 4.094 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-06/0.008993, allocations: 0 / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.008999, allocations: 3.938 kB / 354.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.009014, allocations: 0 / 354.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.009023, allocations: 0 / 354.5 MB, free: 2.316 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 5.423e-05/0.009077, allocations: 182.3 kB / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.009083, allocations: 0 / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.089e-05/0.009094, allocations: 3 kB / 354.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.009098, allocations: 11.97 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.009101, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.009105, allocations: 3.938 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.361e-05/0.009148, allocations: 120.5 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.00915, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.00915, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009153, allocations: 8 kB / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.00916, allocations: 0 / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.009161, allocations: 0 / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009162, allocations: 0 / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.938e-05/0.009241, allocations: 131.8 kB / 354.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.009247, allocations: 4 kB / 354.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.009261, allocations: 0 / 354.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-06/0.009266, allocations: 4.031 kB / 354.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.009282, allocations: 3.984 kB / 354.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.009284, allocations: 0 / 354.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.632e-05/0.009301, allocations: 127.1 kB / 355 MB, free: 1.641 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009301, allocations: 0 / 355 MB, free: 1.641 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000331/0.009632, allocations: 155.4 kB / 355.2 MB, free: 1.488 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.0006126/0.01024, allocations: 376.4 kB / 355.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.01034, allocations: 126.5 kB / 355.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01034, allocations: 0 / 355.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.01036, allocations: 88.8 kB / 355.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.01046, allocations: 3.938 kB / 355.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.01066, allocations: 118.5 kB / 355.9 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.009e-05/0.01068, allocations: 51.36 kB / 355.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.981e-06/0.01069, allocations: 4 kB / 356 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.0107, allocations: 8.625 kB / 356 MB, free: 0.625 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0107, allocations: 4 kB / 356 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Templates: time 0.007657/0.01836, allocations: 4.177 MB / 360.1 MB, free: 12.45 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.284406035207212]