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.001571/0.001571, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.001514/0.001514, allocations: 186 kB / 21.49 MB, free: 0.8242 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.763/1.763, allocations: 207.6 MB / 232.1 MB, free: 3.203 MB / 174.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.4091/0.4091, allocations: 44.24 MB / 328.4 MB, free: 6.309 MB / 254.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.002193/0.002193, allocations: 75.83 kB / 465.5 MB, free: 45.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.168, allocations: 60.99 MB / 0.5142 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001892/0.1699, allocations: 0.5202 MB / 0.5147 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.173, allocations: 2.114 MB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.173, allocations: 0 / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.173, allocations: 0 / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.735e-06/0.173, allocations: 9.469 kB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1743, allocations: 0.4898 MB / 0.5172 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.1744, allocations: 0 / 0.5172 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1745, allocations: 4 kB / 0.5172 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.1745, allocations: 3.984 kB / 0.5173 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.896e-05/0.1745, allocations: 0 / 0.5173 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.1745, allocations: 0 / 0.5173 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.1753, allocations: 0.659 MB / 0.5179 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.1753, allocations: 0 / 0.5179 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.1754, allocations: 4 kB / 0.5179 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.1758, allocations: 387 kB / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1758, allocations: 0 / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1758, allocations: 0 / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1758, allocations: 4 kB / 0.5183 GB, free: 9.07 MB / 382.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.0004107/0.1762, allocations: 416.5 kB / 0.5187 GB, free: 8.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1763, allocations: 19.78 kB / 0.5187 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.1763, allocations: 0.9375 kB / 0.5187 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.1764, allocations: 160.4 kB / 0.5188 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1764, allocations: 384 / 0.5188 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1764, allocations: 4.375 kB / 0.5188 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.616e-05/0.1765, allocations: 34 kB / 0.5189 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1765, allocations: 4 kB / 0.5189 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1765, allocations: 0 / 0.5189 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1765, allocations: 4 kB / 0.5189 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.1765, allocations: 3.938 kB / 0.5189 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.1766, allocations: 141.7 kB / 0.519 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.1767, allocations: 22.61 kB / 0.519 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.1767, allocations: 4.859 kB / 0.519 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1767, allocations: 0 / 0.519 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1767, allocations: 76.12 kB / 0.5191 GB, free: 8.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.1767, allocations: 3.984 kB / 0.5191 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001784/0.1769, allocations: 63.41 kB / 0.5192 GB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1769, allocations: 81.11 kB / 0.5193 GB, free: 7.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.445e-05/0.177, allocations: 93.86 kB / 0.5194 GB, free: 7.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.177, allocations: 25.7 kB / 0.5194 GB, free: 7.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.177, allocations: 84.12 kB / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.177, allocations: 128 / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.177, allocations: 13.72 kB / 0.5195 GB, free: 7.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.1771, allocations: 314.8 kB / 0.5198 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.1771, allocations: 0 / 0.5198 GB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.1771, allocations: 0 / 0.5198 GB, free: 7.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.1771, allocations: 64.27 kB / 0.5198 GB, free: 7.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1771, allocations: 3.938 kB / 0.5198 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.955e-05/0.1772, allocations: 63.39 kB / 0.5199 GB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1772, allocations: 37.73 kB / 0.5199 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1772, allocations: 0 / 0.5199 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1772, allocations: 0 / 0.5199 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.1772, allocations: 4 kB / 0.5199 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1773, allocations: 4 kB / 0.5199 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.1773, allocations: 0 / 0.5199 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1773, allocations: 0 / 0.5199 GB, free: 7.086 MB / 382.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 6.389e-05/0.1773, allocations: 151.5 kB / 0.5201 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.1774, allocations: 3.938 kB / 0.5201 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.101e-05/0.1774, allocations: 7.125 kB / 0.5201 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1774, allocations: 0 / 0.5201 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1774, allocations: 0 / 0.5201 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1774, allocations: 0 / 0.5201 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.054e-05/0.1774, allocations: 145.7 kB / 0.5202 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.1774, allocations: 0 / 0.5202 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.1774, allocations: 3.984 kB / 0.5202 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1774, allocations: 3.938 kB / 0.5202 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1774, allocations: 0 / 0.5202 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1774, allocations: 0 / 0.5202 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1774, allocations: 3.938 kB / 0.5202 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.1775, allocations: 90.84 kB / 0.5203 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.1775, allocations: 81.09 kB / 0.5204 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1776, allocations: 7.938 kB / 0.5204 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.1776, allocations: 0 / 0.5204 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.1776, allocations: 0 / 0.5204 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1776, allocations: 0 / 0.5204 GB, free: 6.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.678e-05/0.1776, allocations: 75.28 kB / 0.5205 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.1776, allocations: 7.969 kB / 0.5205 GB, free: 6.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00036/0.178, allocations: 135.5 kB / 0.5206 GB, free: 6.27 MB / 382.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.0006317/0.1786, allocations: 304 kB / 0.5209 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.1787, allocations: 59.34 kB / 0.521 GB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1787, allocations: 8.062 kB / 0.521 GB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.1787, allocations: 59.39 kB / 0.521 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1789, allocations: 4 kB / 0.521 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.179, allocations: 88.86 kB / 0.5211 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1791, allocations: 0.669 MB / 0.5218 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.27e-06/0.1791, allocations: 0 / 0.5218 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.1792, allocations: 11.44 kB / 0.5218 GB, free: 4.992 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1792, allocations: 0 / 0.5218 GB, free: 4.992 MB / 382.1 MB Notification: Performance of Templates: time 0.005892/0.185, allocations: 3.425 MB / 0.5251 GB, free: 1.562 MB / 382.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.798525528050959]