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.001338/0.001338, allocations: 111.7 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.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.001548/0.001548, allocations: 213.5 kB / 23 MB, free: 5.004 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.534/1.534, allocations: 207.6 MB / 233.8 MB, free: 10 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.2472/0.2472, allocations: 44.24 MB / 330.3 MB, free: 9.602 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.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions",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.002251/0.002251, allocations: 76.36 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.144, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.002064/0.1461, allocations: 0.5104 MB / 0.5166 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.1502, allocations: 2.384 MB / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.1502, allocations: 0 / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.1503, allocations: 0 / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.1503, allocations: 0 / 0.519 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.152, allocations: 0.5765 MB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.152, allocations: 0 / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1521, allocations: 0 / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.1521, allocations: 11.94 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.1521, allocations: 0 / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-06/0.1521, allocations: 0 / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1534, allocations: 0.7876 MB / 0.5203 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.1534, allocations: 0 / 0.5203 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.1534, allocations: 3.984 kB / 0.5203 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.1541, allocations: 459.1 kB / 0.5208 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1541, allocations: 0 / 0.5208 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1541, allocations: 0 / 0.5208 GB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1541, allocations: 0 / 0.5208 GB, free: 2.605 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.0005248/0.1546, allocations: 367.1 kB / 0.5211 GB, free: 2.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1547, allocations: 12.03 kB / 0.5211 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1547, allocations: 30.75 kB / 0.5211 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1548, allocations: 0.9375 kB / 0.5211 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.1549, allocations: 110.5 kB / 0.5213 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1549, allocations: 384 / 0.5213 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1549, allocations: 384 / 0.5213 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.155, allocations: 37.77 kB / 0.5213 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.155, allocations: 3.938 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.155, allocations: 3.984 kB / 0.5213 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.155, allocations: 3.938 kB / 0.5213 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.155, allocations: 8 kB / 0.5213 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.1553, allocations: 200 kB / 0.5215 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.1553, allocations: 26.59 kB / 0.5215 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.1554, allocations: 8.922 kB / 0.5215 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1554, allocations: 3.938 kB / 0.5215 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.1554, allocations: 60.25 kB / 0.5216 GB, free: 1.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1554, allocations: 0 / 0.5216 GB, free: 1.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001993/0.1556, allocations: 75.39 kB / 0.5217 GB, free: 1.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.1557, allocations: 81.11 kB / 0.5217 GB, free: 1.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.1557, allocations: 93.86 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1557, allocations: 29.7 kB / 0.5219 GB, free: 1.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.1558, allocations: 84.12 kB / 0.5219 GB, free: 1.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.1558, allocations: 3.953 kB / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1558, allocations: 13.72 kB / 0.522 GB, free: 1.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.156, allocations: 315 kB / 0.5223 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.156, allocations: 4 kB / 0.5223 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.156, allocations: 11.94 kB / 0.5223 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.156, allocations: 60.27 kB / 0.5223 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.156, allocations: 3.938 kB / 0.5223 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.474e-05/0.1561, allocations: 71.39 kB / 0.5224 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.1562, allocations: 29.7 kB / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1562, allocations: 0 / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1562, allocations: 0 / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-05/0.1562, allocations: 4.094 kB / 0.5224 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1562, allocations: 4 kB / 0.5224 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.1562, allocations: 4 kB / 0.5224 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1562, allocations: 0 / 0.5224 GB, free: 0.6328 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 9.755e-05/0.1563, allocations: 143.4 kB / 0.5226 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1564, allocations: 4 kB / 0.5226 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.1564, allocations: 7.141 kB / 0.5226 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1564, allocations: 0 / 0.5226 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1564, allocations: 0 / 0.5226 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1564, allocations: 4 kB / 0.5226 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1566, allocations: 267.4 kB / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1566, allocations: 0 / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.1567, allocations: 3.938 kB / 0.5229 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1567, allocations: 0 / 0.5229 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1567, allocations: 4 kB / 0.5229 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1567, allocations: 0 / 0.5229 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1567, allocations: 3.938 kB / 0.5229 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1568, allocations: 177.2 kB / 0.523 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.1568, allocations: 7.938 kB / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1568, allocations: 3.984 kB / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.1569, allocations: 0 / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1569, allocations: 0 / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1569, allocations: 4 kB / 0.523 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.1569, allocations: 75.28 kB / 0.5231 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1569, allocations: 0 / 0.5231 GB, free: 15.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004599/0.1574, allocations: 159.3 kB / 0.5233 GB, free: 15.69 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.001116/0.1585, allocations: 0.9406 MB / 0.5242 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1586, allocations: 71.42 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1586, allocations: 3.938 kB / 0.5243 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.1587, allocations: 59.41 kB / 0.5243 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.1589, allocations: 0 / 0.5243 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1599, allocations: 1.214 MB / 0.5255 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1602, allocations: 0.6729 MB / 0.5262 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.072e-05/0.1603, allocations: 0 / 0.5262 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.1603, allocations: 7.438 kB / 0.5262 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1603, allocations: 4.031 kB / 0.5262 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.1917, allocations: 4.654 MB / 0.5307 GB, free: 7.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/10.99, allocations: 12.78 kB / 0.5307 GB, free: 7.887 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_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_TestTruncatedDistributions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestTruncatedDistributions/TestTruncatedDistributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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.320013584001572]