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.001339/0.001339, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001527/0.001527, allocations: 214.1 kB / 22.99 MB, free: 4.977 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.473/1.473, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2274/0.2274, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 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: "" <> 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.002501/0.002501, allocations: 75.88 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1251, allocations: 61.05 MB / 0.5162 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.00197/0.1271, allocations: 0.5027 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003396/0.1305, allocations: 1.987 MB / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.1305, allocations: 0 / 0.5186 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.1305, allocations: 4 kB / 0.5186 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-06/0.1305, allocations: 7.938 kB / 0.5186 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1322, allocations: 0.5026 MB / 0.5191 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.1322, allocations: 3.984 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.1323, allocations: 11.98 kB / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.1323, allocations: 0 / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.1323, allocations: 0 / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.1323, allocations: 0 / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.1335, allocations: 0.6277 MB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.1335, allocations: 0 / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.1336, allocations: 0 / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.1343, allocations: 383.2 kB / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1343, allocations: 0 / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1343, allocations: 4 kB / 0.5201 GB, free: 3.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1343, allocations: 0 / 0.5201 GB, free: 3.121 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.0004904/0.1348, allocations: 335.4 kB / 0.5204 GB, free: 2.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1349, allocations: 8.031 kB / 0.5204 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.1349, allocations: 38.73 kB / 0.5205 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.135, allocations: 0.9375 kB / 0.5205 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.135, allocations: 106.5 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.135, allocations: 384 / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.1351, allocations: 8.312 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1352, allocations: 63.53 kB / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1352, allocations: 0 / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1352, allocations: 0 / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1352, allocations: 3.938 kB / 0.5206 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.1352, allocations: 37.67 kB / 0.5207 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.1355, allocations: 200 kB / 0.5209 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.292e-05/0.1356, allocations: 52.3 kB / 0.5209 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.1356, allocations: 38.56 kB / 0.5209 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1356, allocations: 0 / 0.5209 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.167e-05/0.1357, allocations: 68.2 kB / 0.521 GB, free: 2.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1357, allocations: 0 / 0.521 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002326/0.136, allocations: 122.8 kB / 0.5211 GB, free: 1.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.136, allocations: 77.11 kB / 0.5212 GB, free: 1.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.1361, allocations: 93.86 kB / 0.5213 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1361, allocations: 25.7 kB / 0.5213 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1361, allocations: 80.14 kB / 0.5214 GB, free: 1.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1361, allocations: 7.953 kB / 0.5214 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1362, allocations: 13.7 kB / 0.5214 GB, free: 1.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1363, allocations: 314.8 kB / 0.5217 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.1364, allocations: 33.83 kB / 0.5217 GB, free: 1.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.1364, allocations: 29.7 kB / 0.5218 GB, free: 1.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.1364, allocations: 64.2 kB / 0.5218 GB, free: 1.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1364, allocations: 3.938 kB / 0.5218 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.1366, allocations: 97.09 kB / 0.5219 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.1366, allocations: 29.7 kB / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1366, allocations: 0 / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1366, allocations: 0 / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.456e-05/0.1366, allocations: 0 / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1366, allocations: 4.094 kB / 0.522 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.1366, allocations: 4 kB / 0.522 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1367, allocations: 3.984 kB / 0.522 GB, free: 0.8984 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.0001129/0.1368, allocations: 143.5 kB / 0.5221 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1368, allocations: 0 / 0.5221 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.1368, allocations: 3.156 kB / 0.5221 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1368, allocations: 0 / 0.5221 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1368, allocations: 3.938 kB / 0.5221 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1368, allocations: 3.938 kB / 0.5221 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.1371, allocations: 297.1 kB / 0.5224 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.1371, allocations: 12.02 kB / 0.5224 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-06/0.1371, allocations: 4 kB / 0.5224 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1371, allocations: 0 / 0.5224 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.1371, allocations: 0 / 0.5224 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1371, allocations: 0 / 0.5224 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1371, allocations: 3.984 kB / 0.5224 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.1373, allocations: 202.8 kB / 0.5226 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-06/0.1373, allocations: 0 / 0.5226 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1373, allocations: 4 kB / 0.5226 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.1374, allocations: 0 / 0.5226 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.1374, allocations: 0 / 0.5226 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1374, allocations: 7.969 kB / 0.5226 GB, free: 124 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1374, allocations: 75.28 kB / 0.5227 GB, free: 48 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1374, allocations: 0 / 0.5227 GB, free: 48 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005143/0.138, allocations: 139.6 kB / 0.5228 GB, free: 15.91 MB / 414.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.001392/0.1393, allocations: 0.9558 MB / 0.5238 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1395, allocations: 122.8 kB / 0.5239 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1395, allocations: 0 / 0.5239 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1396, allocations: 89.09 kB / 0.524 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.1398, allocations: 0 / 0.524 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1412, allocations: 1.328 MB / 0.5253 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.1412, allocations: 55.34 kB / 0.5253 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.1413, allocations: 4 kB / 0.5253 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1413, allocations: 7.625 kB / 0.5253 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1413, allocations: 4 kB / 0.5253 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.1764, allocations: 4.986 MB / 0.5302 GB, free: 8.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.04, allocations: 7.531 kB / 0.5302 GB, free: 8.129 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.csv","/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: 15.239425224252045]