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.001229/0.001229, allocations: 83.98 kB / 20.72 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.001366/0.001366, allocations: 173 kB / 24.14 MB, free: 196 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.9267/0.9267, allocations: 158.6 MB / 186 MB, free: 2.348 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.1489/0.1489, allocations: 32.38 MB / 270.7 MB, free: 14.57 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 2.425e-06/2.425e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.558e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001794/0.001829, allocations: 0.5208 MB / 299.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1722/0.174, allocations: 2.28 MB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.174, allocations: 1.5 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.174, allocations: 0 / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.224e-06/0.174, allocations: 0 / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1758, allocations: 0.5867 MB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.1758, allocations: 2.219 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.1759, allocations: 4.391 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.1759, allocations: 2.375 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.1759, allocations: 1.062 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1759, allocations: 1.656 kB / 302.5 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1771, allocations: 0.6596 MB / 303.1 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.1771, allocations: 1.281 kB / 303.1 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.1771, allocations: 4.781 kB / 303.1 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.1779, allocations: 0.5159 MB / 303.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1779, allocations: 0 / 303.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1779, allocations: 1.094 kB / 303.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1779, allocations: 4.266 kB / 303.6 MB, free: 19.06 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.00034/0.1782, allocations: 344.2 kB / 304 MB, free: 18.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1783, allocations: 9.812 kB / 304 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.1783, allocations: 2.125 kB / 304 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.717e-05/0.1784, allocations: 106 kB / 304.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1784, allocations: 1.656 kB / 304.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.1784, allocations: 1.594 kB / 304.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.555e-05/0.1784, allocations: 55.66 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1784, allocations: 0.8438 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.1785, allocations: 4.125 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1785, allocations: 3.938 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.418e-05/0.1785, allocations: 32.48 kB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.705e-05/0.1785, allocations: 55.69 kB / 304.3 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.1786, allocations: 44.31 kB / 304.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.1786, allocations: 36.27 kB / 304.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-06/0.1786, allocations: 0 / 304.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1786, allocations: 65.42 kB / 304.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1786, allocations: 0 / 304.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000102/0.1787, allocations: 114.7 kB / 304.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.1787, allocations: 79.19 kB / 304.6 MB, free: 18.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.971e-05/0.1788, allocations: 91.39 kB / 304.7 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.1788, allocations: 29.7 kB / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.003e-05/0.1788, allocations: 80.84 kB / 304.8 MB, free: 17.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.1788, allocations: 2.531 kB / 304.8 MB, free: 17.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.1788, allocations: 12.89 kB / 304.8 MB, free: 17.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.1789, allocations: 316.7 kB / 305.1 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-06/0.1789, allocations: 26.92 kB / 305.1 MB, free: 17.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.448e-06/0.1789, allocations: 27.73 kB / 305.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.1789, allocations: 64.06 kB / 305.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1789, allocations: 0 / 305.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.684e-05/0.179, allocations: 96.61 kB / 305.3 MB, free: 17.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.179, allocations: 33.3 kB / 305.3 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.179, allocations: 0 / 305.3 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.179, allocations: 3.938 kB / 305.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-06/0.179, allocations: 1.438 kB / 305.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.179, allocations: 1.25 kB / 305.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.179, allocations: 0 / 305.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.179, allocations: 1.188 kB / 305.4 MB, free: 17.25 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.494e-05/0.1791, allocations: 140 kB / 305.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.1791, allocations: 1.375 kB / 305.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.1791, allocations: 9.141 kB / 305.5 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1791, allocations: 0 / 305.5 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1791, allocations: 2.016 kB / 305.5 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1791, allocations: 1.156 kB / 305.5 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.321e-05/0.1791, allocations: 63.58 kB / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1791, allocations: 1.219 kB / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.1791, allocations: 0.7031 kB / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.1791, allocations: 0 / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.1791, allocations: 1.219 kB / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1791, allocations: 0.6094 kB / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1791, allocations: 5.25 kB / 305.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.705e-05/0.1792, allocations: 119.5 kB / 305.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.1792, allocations: 3.078 kB / 305.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1792, allocations: 3.812 kB / 305.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.1792, allocations: 1.625 kB / 305.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1792, allocations: 0.7031 kB / 305.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.1792, allocations: 1.219 kB / 305.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.041e-06/0.1793, allocations: 5.922 kB / 305.7 MB, free: 16.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1793, allocations: 0 / 305.7 MB, free: 16.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.1796, allocations: 156.5 kB / 305.9 MB, free: 16.83 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.0006956/0.1803, allocations: 369.8 kB / 306.2 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.1804, allocations: 120 kB / 306.3 MB, free: 16.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1804, allocations: 1.406 kB / 306.3 MB, free: 16.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.1804, allocations: 86.8 kB / 306.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.303e-05/0.1805, allocations: 8.156 kB / 306.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/0.1806, allocations: 119 kB / 306.6 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.1806, allocations: 53.8 kB / 306.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.609e-06/0.1806, allocations: 0 / 306.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.1807, allocations: 55.09 kB / 306.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1807, allocations: 0 / 306.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of Templates: time 0.007236/0.1879, allocations: 4.187 MB / 310.8 MB, free: 15.23 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 -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.1843968648463488]