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.001993/0.001993, allocations: 110.2 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.002364/0.002364, allocations: 223.3 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.515/1.515, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.2252/0.2252, allocations: 44.25 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.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.002187/0.002187, allocations: 75.91 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1509, allocations: 61.05 MB / 0.5162 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001863/0.1528, allocations: 0.4987 MB / 0.5166 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1561, allocations: 2.123 MB / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1561, allocations: 0 / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.1561, allocations: 0 / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.1561, allocations: 0 / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1576, allocations: 0.5104 MB / 0.5192 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.705e-05/0.1577, allocations: 7.938 kB / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.1577, allocations: 0 / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.1577, allocations: 3.984 kB / 0.5192 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.1578, allocations: 4 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-06/0.1578, allocations: 7.938 kB / 0.5192 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.159, allocations: 0.7448 MB / 0.52 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.159, allocations: 0 / 0.52 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.159, allocations: 3.938 kB / 0.52 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.1596, allocations: 391.3 kB / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1596, allocations: 0 / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1596, allocations: 0 / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1596, 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.0005229/0.1601, allocations: 343.3 kB / 0.5207 GB, free: 2.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1602, allocations: 12.03 kB / 0.5207 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.631e-05/0.1603, allocations: 30.75 kB / 0.5207 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1603, allocations: 0.9375 kB / 0.5207 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1604, allocations: 106.5 kB / 0.5208 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1604, allocations: 4.375 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1604, allocations: 4.375 kB / 0.5208 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1605, allocations: 37.81 kB / 0.5209 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1605, allocations: 0 / 0.5209 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1606, allocations: 3.938 kB / 0.5209 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1606, allocations: 0 / 0.5209 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.1606, allocations: 4 kB / 0.5209 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1609, allocations: 212 kB / 0.5211 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.1609, allocations: 18.58 kB / 0.5211 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1609, allocations: 12.92 kB / 0.5211 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.161, allocations: 3.938 kB / 0.5211 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.161, allocations: 60.2 kB / 0.5212 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.161, allocations: 0 / 0.5212 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.1612, allocations: 75.39 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.1613, allocations: 77.11 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.1614, allocations: 89.86 kB / 0.5214 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1614, allocations: 29.64 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.1614, allocations: 84.14 kB / 0.5215 GB, free: 1.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1614, allocations: 3.953 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1615, allocations: 17.7 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1616, allocations: 314.8 kB / 0.5218 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.1617, allocations: 4.125 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.1617, allocations: 4 kB / 0.5218 GB, free: 1.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.1617, allocations: 68.2 kB / 0.5219 GB, free: 1.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1617, allocations: 3.938 kB / 0.5219 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.231e-05/0.1618, allocations: 63.39 kB / 0.522 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.1619, allocations: 33.7 kB / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1619, allocations: 0 / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1619, allocations: 0 / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-05/0.1619, allocations: 96 / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1619, allocations: 7.984 kB / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.1619, allocations: 0 / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1619, allocations: 8 kB / 0.522 GB, free: 1.082 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.0001065/0.162, allocations: 139.5 kB / 0.5221 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1621, allocations: 4 kB / 0.5221 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.1621, allocations: 3.156 kB / 0.5221 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1621, allocations: 0 / 0.5221 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1621, allocations: 3.938 kB / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1621, allocations: 0 / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1624, allocations: 275.4 kB / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1624, allocations: 0 / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.1624, allocations: 0 / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1624, allocations: 0 / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1624, allocations: 3.984 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1624, allocations: 0 / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1624, allocations: 0 / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1626, allocations: 177.2 kB / 0.5226 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.1626, allocations: 3.984 kB / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1626, allocations: 0 / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.1626, allocations: 4 kB / 0.5226 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1626, allocations: 0 / 0.5226 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1627, allocations: 4 kB / 0.5226 GB, free: 392 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.838e-05/0.1627, allocations: 83.16 kB / 0.5227 GB, free: 308 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1627, allocations: 0 / 0.5227 GB, free: 308 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.1631, allocations: 139.5 kB / 0.5228 GB, free: 168 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.001154/0.1643, allocations: 0.8968 MB / 0.5237 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1644, allocations: 71.42 kB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1644, allocations: 0 / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.1645, allocations: 59.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.0002007/0.1647, 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.001268/0.166, 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.0003746/0.1663, allocations: 0.6729 MB / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.399e-05/0.1663, allocations: 4 kB / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.1664, allocations: 7.438 kB / 0.5256 GB, free: 13.08 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1664, allocations: 0 / 0.5256 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.2013, allocations: 4.541 MB / 0.5301 GB, free: 8.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.11, allocations: 7.5 kB / 0.5301 GB, free: 8.535 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 & 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: 14.36265642500075]