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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 102.1 kB / 16.27 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001647, allocations: 187.8 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2404/0.2404, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB 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.001508/0.001508, allocations: 64 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1316, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001731/0.1334, allocations: 0.5052 MB / 441.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1357, allocations: 2.068 MB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.1357, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1357, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.1357, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.1369, allocations: 0.4944 MB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.1369, allocations: 3.984 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.137, allocations: 3.984 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.137, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.744e-05/0.137, allocations: 4 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.1371, allocations: 3.938 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.1379, allocations: 0.6122 MB / 444.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.1379, allocations: 0 / 444.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.1379, allocations: 4 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.1383, allocations: 375.6 kB / 444.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1384, allocations: 0 / 444.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1384, allocations: 0 / 444.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1384, allocations: 4 kB / 444.7 MB, free: 2.734 MB / 318.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.0003612/0.1387, allocations: 421.1 kB / 445.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1388, allocations: 11.89 kB / 445.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.1388, allocations: 34.75 kB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1389, allocations: 0.9375 kB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.946e-05/0.1389, allocations: 168.4 kB / 445.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.139, allocations: 384 / 445.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.139, allocations: 384 / 445.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.1391, allocations: 37.77 kB / 445.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1391, allocations: 4 kB / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1391, allocations: 0 / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1391, allocations: 0 / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.1391, allocations: 4 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.1393, allocations: 232.9 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.469e-05/0.1394, allocations: 22.52 kB / 445.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.1394, allocations: 20.91 kB / 445.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.1394, allocations: 0 / 445.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1394, allocations: 60.25 kB / 445.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1395, allocations: 0 / 445.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.1396, allocations: 67.41 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1397, allocations: 85.09 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.193e-05/0.1397, allocations: 89.86 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.1397, allocations: 25.7 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.406e-05/0.1397, allocations: 88.2 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1398, allocations: 3.906 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1398, allocations: 21.66 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.1398, allocations: 310.8 kB / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.1399, allocations: 0 / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.1399, allocations: 4 kB / 446.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.1399, allocations: 68.25 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1399, allocations: 8 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.403e-05/0.14, allocations: 67.41 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.14, allocations: 29.7 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.14, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.14, allocations: 3.984 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.471e-05/0.1401, allocations: 7.938 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1401, allocations: 3.938 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.1401, allocations: 4 kB / 446.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1401, allocations: 0 / 446.6 MB, free: 0.5859 MB / 318.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 5.466e-05/0.1402, allocations: 147.5 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1402, allocations: 3.984 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.1402, allocations: 3.125 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1402, allocations: 0 / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1402, allocations: 0 / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1402, allocations: 0 / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1404, allocations: 308.2 kB / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1404, allocations: 0 / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-06/0.1404, allocations: 0 / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1404, allocations: 4.031 kB / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1404, allocations: 0 / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1405, allocations: 4 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1405, allocations: 3.938 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1406, allocations: 165.2 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1406, allocations: 77.11 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1407, allocations: 4 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.1407, allocations: 4.031 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.1407, allocations: 0 / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1408, allocations: 0 / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.1408, allocations: 75.28 kB / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1408, allocations: 3.938 kB / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.1412, allocations: 131.9 kB / 447.5 MB, free: 15.55 MB / 334.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.001089/0.1423, allocations: 0.9053 MB / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1425, allocations: 63.41 kB / 448.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1425, allocations: 0 / 448.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.1425, allocations: 55.41 kB / 448.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.1427, allocations: 14.86 kB / 448.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009646/0.1437, allocations: 1.207 MB / 449.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.144, allocations: 0.669 MB / 450.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.275e-05/0.144, allocations: 0 / 450.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.144, allocations: 11.44 kB / 450.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.144, allocations: 0 / 450.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1669, allocations: 4.39 MB / 454.8 MB, free: 8.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.22, allocations: 11.62 kB / 454.8 MB, free: 8.074 MB / 334.1 MB (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) 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) Reference file matches