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.00108/0.00108, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001732/0.002812, allocations: 452 kB / 10.43 MB, free: 264 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.001092/0.001092, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00164/0.002732, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9709/0.9709, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.185/1.156, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1223/0.1223, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02241/0.1447, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.554e-06/2.554e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.545e-05, allocations: 6.25 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0009779/0.0009933, allocations: 0.5673 MB / 268 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.003239, allocations: 2.3 MB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.003253, allocations: 0 / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.003256, allocations: 4 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.71e-07/0.003257, allocations: 0 / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000841/0.004098, allocations: 0.5175 MB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.004146, allocations: 0 / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.004177, allocations: 4 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.004207, allocations: 4 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.981e-05/0.004227, allocations: 0 / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.004233, allocations: 0 / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.005014, allocations: 0.7095 MB / 271.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-06/0.005021, allocations: 4 kB / 271.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.005033, allocations: 4 kB / 271.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.005436, allocations: 430.9 kB / 271.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.005445, allocations: 7.938 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005445, allocations: 0 / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.005454, allocations: 0 / 271.9 MB, free: 13.98 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.0003134/0.005767, allocations: 389.3 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.005795, allocations: 12.03 kB / 272.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.005824, allocations: 0.9375 kB / 272.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.449e-05/0.005878, allocations: 105.8 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.005889, allocations: 8.375 kB / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.005897, allocations: 384 / 272.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.747e-05/0.005964, allocations: 59.97 kB / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005971, allocations: 4.172 kB / 272.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.005976, allocations: 384 / 272.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005982, allocations: 3.938 kB / 272.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.382e-05/0.005996, allocations: 29.69 kB / 272.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.9e-05/0.006055, allocations: 60.98 kB / 272.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.388e-05/0.006089, allocations: 44.31 kB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.006104, allocations: 30.56 kB / 272.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-06/0.006106, allocations: 4 kB / 272.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.006263, allocations: 60.33 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.006264, allocations: 0 / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.912e-05/0.006363, allocations: 114.7 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.006415, allocations: 162.2 kB / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.983e-05/0.006445, allocations: 89.86 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.006452, allocations: 25.7 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.619e-05/0.006468, allocations: 80.14 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.006487, allocations: 3.984 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.006507, allocations: 17.83 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.006572, allocations: 318.8 kB / 273.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.006586, allocations: 29.7 kB / 273.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-06/0.006594, allocations: 25.7 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.006629, allocations: 60.27 kB / 273.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006631, allocations: 0 / 273.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.109e-05/0.006672, allocations: 96.97 kB / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.006704, allocations: 29.7 kB / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006708, allocations: 0 / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.006718, allocations: 0 / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.006719, allocations: 4.094 kB / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.006722, allocations: 0 / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.006735, allocations: 4 kB / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.006742, allocations: 7.938 kB / 273.8 MB, free: 11.87 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.34e-05/0.006796, allocations: 139.5 kB / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-06/0.006799, allocations: 0 / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-06/0.006806, allocations: 3 kB / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006808, allocations: 4 kB / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006809, allocations: 0 / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.006811, allocations: 0 / 273.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.969e-05/0.006851, allocations: 73.8 kB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006851, allocations: 0 / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.006852, allocations: 0 / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.006856, allocations: 3.984 kB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006857, allocations: 4 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.006861, allocations: 0 / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.006861, allocations: 0 / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.006862, allocations: 0 / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.47e-05/0.006917, allocations: 116.4 kB / 274.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.006928, allocations: 4 kB / 274.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-06/0.006932, allocations: 0 / 274.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-06/0.006939, allocations: 4.031 kB / 274.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.006941, allocations: 0 / 274.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.685e-06/0.006948, allocations: 4.859 kB / 274.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006948, allocations: 0 / 274.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.007172, allocations: 163.3 kB / 274.3 MB, free: 11.29 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.0005554/0.007727, allocations: 377.2 kB / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.007821, allocations: 115.7 kB / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.007824, allocations: 0 / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.007856, allocations: 97.94 kB / 274.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.022e-05/0.007907, allocations: 7.938 kB / 274.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001377/0.008044, allocations: 108.8 kB / 275 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.579e-05/0.00807, allocations: 51.36 kB / 275 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.261e-06/0.008076, allocations: 4 kB / 275 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.008105, allocations: 51.56 kB / 275.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008105, allocations: 4 kB / 275.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of Templates: time 0.005386/0.01349, allocations: 4.148 MB / 279.2 MB, free: 6.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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.733944167383015]