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.001612/0.001612, allocations: 103 kB / 16.27 MB, free: 5.93 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.001054/0.001054, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.574/1.574, 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.236/0.236, allocations: 43.52 MB / 313.9 MB, free: 0.5117 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.001873/0.001873, allocations: 69 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1361, allocations: 57.78 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.002483/0.1387, allocations: 0.5091 MB / 441.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.1416, allocations: 2.067 MB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.1417, allocations: 0 / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1418, allocations: 4 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.1418, allocations: 0 / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.1437, allocations: 0.4946 MB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.1438, allocations: 4 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.1439, allocations: 0 / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.1439, allocations: 4 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.531e-05/0.1439, allocations: 0 / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.144, allocations: 0 / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1452, allocations: 0.6161 MB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.1452, allocations: 0 / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1453, allocations: 4 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009107/0.1462, allocations: 379.5 kB / 444.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1462, allocations: 0 / 444.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1462, allocations: 4 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1462, allocations: 0 / 444.7 MB, free: 2.699 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.0005662/0.1468, allocations: 421.1 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1469, allocations: 15.83 kB / 445.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.1469, allocations: 30.75 kB / 445.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.147, allocations: 0.9375 kB / 445.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.08e-05/0.147, allocations: 168.3 kB / 445.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1471, allocations: 384 / 445.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1471, allocations: 4.359 kB / 445.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1472, allocations: 41.83 kB / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1472, allocations: 0 / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1472, allocations: 0 / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1473, allocations: 0 / 445.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.1473, allocations: 4 kB / 445.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.1475, allocations: 232.9 kB / 445.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.1475, allocations: 22.55 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.1476, allocations: 16.92 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1476, allocations: 0 / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1476, allocations: 64.25 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1476, allocations: 0 / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.1478, allocations: 71.34 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1479, allocations: 81.11 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.1479, allocations: 93.97 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1479, allocations: 29.7 kB / 446 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.148, allocations: 80.14 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.148, allocations: 7.844 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.148, allocations: 17.72 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.1481, allocations: 310.8 kB / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.1481, allocations: 0 / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.1481, allocations: 4 kB / 446.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.1481, allocations: 72.31 kB / 446.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1482, allocations: 3.938 kB / 446.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.959e-05/0.1482, allocations: 67.34 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.1483, allocations: 29.7 kB / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1483, allocations: 0 / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1483, allocations: 0 / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-05/0.1483, allocations: 0 / 446.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1483, allocations: 3.984 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1484, allocations: 4 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1484, allocations: 0 / 446.5 MB, free: 0.5586 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 6.907e-05/0.1484, allocations: 151.5 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1485, allocations: 0 / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.1485, allocations: 7.109 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1485, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1485, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1485, allocations: 3.938 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1488, allocations: 308.2 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1488, allocations: 0 / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.1488, allocations: 4.031 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1488, allocations: 0 / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1488, allocations: 0 / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1488, allocations: 4 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1488, allocations: 0 / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.149, allocations: 169.2 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.149, allocations: 77.11 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.149, allocations: 4 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.1491, allocations: 4.031 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.1491, allocations: 0 / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.1492, allocations: 0 / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.129e-05/0.1492, allocations: 75.28 kB / 447.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.1492, allocations: 0 / 447.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.1497, allocations: 135.8 kB / 447.5 MB, free: 15.52 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.001293/0.151, allocations: 0.9022 MB / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1512, allocations: 63.41 kB / 448.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1512, allocations: 0 / 448.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.1512, allocations: 59.44 kB / 448.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1515, allocations: 10.88 kB / 448.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1526, allocations: 1.203 MB / 449.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1529, allocations: 0.669 MB / 450.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.502e-05/0.1529, allocations: 0 / 450.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.1529, allocations: 15.38 kB / 450.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1529, allocations: 0 / 450.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.1799, allocations: 4.399 MB / 454.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.072, allocations: 7.688 kB / 454.8 MB, free: 8.031 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 & /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) 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) Reference file matches