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.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.001397/0.001397, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 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.001444/0.001444, allocations: 227.2 kB / 23.01 MB, free: 5.039 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.511/1.511, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2248/0.2248, allocations: 44.24 MB / 330.3 MB, free: 9.609 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.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: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00388/0.00388, allocations: 71.89 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1833, allocations: 61.05 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002435/0.1857, allocations: 0.5027 MB / 0.5166 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.1896, allocations: 2.112 MB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.1896, allocations: 3.938 kB / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.1897, allocations: 0 / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.736e-06/0.1897, allocations: 0 / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1915, allocations: 0.5221 MB / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.1915, allocations: 0 / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.1916, allocations: 0 / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.1916, allocations: 7.938 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.535e-05/0.1916, allocations: 7.984 kB / 0.5192 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1917, allocations: 3.938 kB / 0.5192 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.1932, allocations: 0.7447 MB / 0.52 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1932, allocations: 0 / 0.52 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1932, allocations: 0 / 0.52 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.1941, allocations: 391.3 kB / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.1942, allocations: 0 / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1942, allocations: 0 / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1942, allocations: 0 / 0.5203 GB, free: 3.027 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.0007334/0.1949, allocations: 343.3 kB / 0.5207 GB, free: 2.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.195, allocations: 8.031 kB / 0.5207 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.45e-05/0.195, allocations: 34.75 kB / 0.5207 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1951, allocations: 0.9375 kB / 0.5207 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1952, allocations: 110.5 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1952, allocations: 384 / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1952, allocations: 384 / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1954, allocations: 41.75 kB / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1954, allocations: 0 / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1954, allocations: 0 / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1954, allocations: 0 / 0.5208 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.1955, allocations: 4 kB / 0.5209 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.1958, allocations: 212 kB / 0.5211 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.814e-05/0.1959, allocations: 26.55 kB / 0.5211 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.196, allocations: 8.922 kB / 0.5211 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.196, allocations: 3.984 kB / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.686e-05/0.1961, allocations: 56.27 kB / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1961, allocations: 0 / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003054/0.1964, allocations: 75.39 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.1965, allocations: 77.11 kB / 0.5213 GB, free: 1.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.1965, allocations: 93.86 kB / 0.5214 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1966, allocations: 29.64 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.1966, allocations: 80.14 kB / 0.5215 GB, free: 1.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1966, allocations: 7.953 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.1967, allocations: 17.7 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1969, allocations: 310.8 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1969, allocations: 8.062 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.1969, allocations: 4 kB / 0.5218 GB, free: 1.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.197, allocations: 64.27 kB / 0.5219 GB, free: 1.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.197, allocations: 3.938 kB / 0.5219 GB, free: 1.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1971, allocations: 71.39 kB / 0.522 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.1972, allocations: 29.7 kB / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1972, allocations: 7.922 kB / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1972, allocations: 0 / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.1973, allocations: 96 / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1973, allocations: 4 kB / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.1973, allocations: 4 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1973, allocations: 3.938 kB / 0.522 GB, free: 1.078 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: 2 ($outputAlias_result,result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.0001309/0.1974, allocations: 143.5 kB / 0.5221 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1975, allocations: 0 / 0.5221 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.1975, allocations: 3.156 kB / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1975, allocations: 0 / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1975, allocations: 0 / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1975, allocations: 0 / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.1979, allocations: 275.4 kB / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1979, allocations: 0 / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-06/0.1979, allocations: 4 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.1979, allocations: 3.984 kB / 0.5224 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1979, allocations: 0 / 0.5224 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1979, allocations: 4 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1979, allocations: 0 / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1981, allocations: 173.2 kB / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.1981, allocations: 0 / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1981, allocations: 4 kB / 0.5226 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.1982, allocations: 4 kB / 0.5226 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.1982, allocations: 0 / 0.5226 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1982, allocations: 0 / 0.5226 GB, free: 392 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.1983, allocations: 79.22 kB / 0.5227 GB, free: 312 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1983, allocations: 4 kB / 0.5227 GB, free: 308 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000598/0.1989, allocations: 131.5 kB / 0.5228 GB, free: 176 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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.001656/0.2005, allocations: 0.9047 MB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.2007, allocations: 71.42 kB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2007, allocations: 3.938 kB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/0.2007, allocations: 55.41 kB / 0.5238 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.201, allocations: 1.094 kB / 0.5238 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2026, allocations: 1.203 MB / 0.525 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.203, allocations: 0.6768 MB / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.203, allocations: 0 / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.2031, allocations: 7.438 kB / 0.5256 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.2031, allocations: 32 / 0.5256 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.242, allocations: 4.546 MB / 0.5301 GB, free: 8.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.36, allocations: 7.219 kB / 0.5301 GB, free: 8.531 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins1/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: 14.623502417001873]