Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 195.7 kB / 22.98 MB, free: 5.016 MB / 14.72 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 1.685/1.685, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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.2417/0.2417, allocations: 44.24 MB / 330.2 MB, free: 9.641 MB / 270.1 MB
"
[Timeout remaining time 179]
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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions")
translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 71.89 kB / 467.9 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1621, allocations: 61.04 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002017/0.1641, allocations: 0.5104 MB / 0.5171 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003599/0.1677, allocations: 2.108 MB / 0.5191 GB, free: 4.25 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/0.1677, allocations: 0 / 0.5191 GB, free: 4.25 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.1677, allocations: 0 / 0.5191 GB, free: 4.25 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.216e-06/0.1678, allocations: 0 / 0.5191 GB, free: 4.25 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1695, allocations: 0.5143 MB / 0.5196 GB, free: 3.734 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.1696, allocations: 3.984 kB / 0.5196 GB, free: 3.73 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.1696, allocations: 7.984 kB / 0.5197 GB, free: 3.723 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.1696, allocations: 4 kB / 0.5197 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.005e-05/0.1696, allocations: 4 kB / 0.5197 GB, free: 3.715 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1697, allocations: 3.938 kB / 0.5197 GB, free: 3.711 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1709, allocations: 0.7447 MB / 0.5204 GB, free: 2.965 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.1709, allocations: 3.938 kB / 0.5204 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.1709, allocations: 0 / 0.5204 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.1716, allocations: 395 kB / 0.5208 GB, free: 2.574 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1716, allocations: 0 / 0.5208 GB, free: 2.574 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.074e-06/0.1716, allocations: 0 / 0.5208 GB, free: 2.574 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.414e-06/0.1716, allocations: 0 / 0.5208 GB, free: 2.574 MB / 398.1 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.0005148/0.1721, allocations: 343.3 kB / 0.5211 GB, free: 2.203 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1722, allocations: 8.031 kB / 0.5211 GB, free: 2.195 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.1722, allocations: 4.938 kB / 0.5211 GB, free: 2.191 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.751e-05/0.1723, allocations: 114.5 kB / 0.5212 GB, free: 2.055 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1723, allocations: 4.375 kB / 0.5212 GB, free: 2.051 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1723, allocations: 384 / 0.5212 GB, free: 2.051 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.1724, allocations: 30.02 kB / 0.5213 GB, free: 2.016 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1724, allocations: 0 / 0.5213 GB, free: 2.016 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1724, allocations: 4 kB / 0.5213 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1724, allocations: 0 / 0.5213 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.1725, allocations: 0 / 0.5213 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.1726, allocations: 116.8 kB / 0.5214 GB, free: 1.855 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.1727, allocations: 30.53 kB / 0.5214 GB, free: 1.816 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.1727, allocations: 4.859 kB / 0.5214 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.1727, allocations: 0 / 0.5214 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.1727, allocations: 64.27 kB / 0.5215 GB, free: 1.73 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1727, allocations: 0 / 0.5215 GB, free: 1.73 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002067/0.173, allocations: 63.41 kB / 0.5215 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.173, allocations: 81.22 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.1731, allocations: 93.86 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1731, allocations: 29.64 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.1732, allocations: 84.08 kB / 0.5218 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1732, allocations: 0 / 0.5218 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1732, allocations: 13.72 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001386/0.1733, allocations: 310.8 kB / 0.5221 GB, free: 1.004 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.1734, allocations: 4 kB / 0.5221 GB, free: 1 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.1734, allocations: 0 / 0.5221 GB, free: 1 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.1734, allocations: 64.33 kB / 0.5222 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1734, allocations: 0 / 0.5222 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.316e-05/0.1735, allocations: 63.39 kB / 0.5222 GB, free: 0.8477 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.1735, allocations: 33.64 kB / 0.5223 GB, free: 0.8086 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1735, allocations: 4 kB / 0.5223 GB, free: 0.8047 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1736, allocations: 0 / 0.5223 GB, free: 0.8047 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.1736, allocations: 3.938 kB / 0.5223 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1736, allocations: 0 / 0.5223 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.1736, allocations: 0 / 0.5223 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-06/0.1736, allocations: 7.969 kB / 0.5223 GB, free: 0.793 MB / 398.1 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 0.0001235/0.1737, allocations: 143.5 kB / 0.5224 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.1737, allocations: 3.938 kB / 0.5224 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.1737, allocations: 3 kB / 0.5224 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1737, allocations: 0 / 0.5224 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1737, allocations: 0 / 0.5224 GB, free: 0.6328 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1737, allocations: 4 kB / 0.5224 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.318e-05/0.1738, allocations: 116.8 kB / 0.5225 GB, free: 484 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1738, allocations: 0 / 0.5225 GB, free: 484 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1738, allocations: 4 kB / 0.5225 GB, free: 480 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1738, allocations: 7.922 kB / 0.5226 GB, free: 472 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1739, allocations: 4 kB / 0.5226 GB, free: 468 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1739, allocations: 0 / 0.5226 GB, free: 468 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1739, allocations: 4 kB / 0.5226 GB, free: 464 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.174, allocations: 86.83 kB / 0.5226 GB, free: 352 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.174, allocations: 4 kB / 0.5226 GB, free: 348 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.174, allocations: 7.906 kB / 0.5227 GB, free: 340 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.174, allocations: 4 kB / 0.5227 GB, free: 336 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.174, allocations: 0 / 0.5227 GB, free: 336 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.174, allocations: 8 kB / 0.5227 GB, free: 328 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.4e-05/0.1741, allocations: 75.28 kB / 0.5227 GB, free: 252 kB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1741, allocations: 3.938 kB / 0.5227 GB, free: 248 kB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000423/0.1745, allocations: 127.5 kB / 0.5229 GB, free: 120 kB / 398.1 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.0007932/0.1753, allocations: 298.4 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001261/0.1754, allocations: 67.39 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1754, allocations: 0 / 0.5232 GB, free: 15.74 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.1754, allocations: 51.41 kB / 0.5233 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1756, allocations: 5.094 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.1758, allocations: 80.98 kB / 0.5233 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.1762, allocations: 0.6806 MB / 0.524 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.662e-06/0.1762, allocations: 3.938 kB / 0.524 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.1762, allocations: 11.44 kB / 0.524 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.1762, allocations: 0 / 0.524 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of Templates: time 0.008622/0.1849, allocations: 3.427 MB / 0.5274 GB, free: 11.41 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.731278837658465]