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.00137/0.00137, allocations: 109 kB / 20.48 MB, free: 1.492 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.001539/0.001539, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.541/1.541, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.244/0.244, allocations: 44.26 MB / 331.1 MB, free: 9.535 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="cs",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.002176/0.002176, allocations: 67.89 kB / 468.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1337, allocations: 61.05 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001652/0.1353, allocations: 0.5065 MB / 0.5174 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1383, allocations: 2.111 MB / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.796e-05/0.1383, allocations: 0 / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.1384, allocations: 0 / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.1384, allocations: 0 / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1398, allocations: 0.5182 MB / 0.52 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.123e-05/0.1398, allocations: 4 kB / 0.52 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.1398, allocations: 3.984 kB / 0.52 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.1398, allocations: 4 kB / 0.52 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.1399, allocations: 7.984 kB / 0.52 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.1399, allocations: 3.938 kB / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.141, allocations: 0.7408 MB / 0.5207 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.141, allocations: 0 / 0.5207 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.141, allocations: 0 / 0.5207 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.1416, allocations: 395.2 kB / 0.5211 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1416, allocations: 0 / 0.5211 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1416, allocations: 0 / 0.5211 GB, free: 3.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1416, allocations: 0 / 0.5211 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.0004366/0.142, allocations: 339.3 kB / 0.5214 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1421, allocations: 12.03 kB / 0.5214 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.1421, allocations: 8.188 kB / 0.5214 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.1422, allocations: 30.75 kB / 0.5215 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.1422, allocations: 4.922 kB / 0.5215 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.1423, allocations: 110.5 kB / 0.5216 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1423, allocations: 384 / 0.5216 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.1423, allocations: 384 / 0.5216 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.56e-05/0.1424, allocations: 33.64 kB / 0.5216 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1424, allocations: 0 / 0.5216 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1424, allocations: 0 / 0.5216 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1424, allocations: 0 / 0.5216 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.1424, allocations: 12 kB / 0.5216 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.1427, allocations: 204 kB / 0.5218 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.1427, allocations: 26.55 kB / 0.5218 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.1428, allocations: 12.91 kB / 0.5219 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-06/0.1428, allocations: 0 / 0.5219 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.1428, allocations: 60.27 kB / 0.5219 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1428, allocations: 0 / 0.5219 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002052/0.143, allocations: 75.33 kB / 0.522 GB, free: 1.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1431, allocations: 77.11 kB / 0.5221 GB, free: 1.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.1431, allocations: 97.8 kB / 0.5222 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1431, allocations: 25.7 kB / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.1432, allocations: 84.14 kB / 0.5223 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.1432, allocations: 3.953 kB / 0.5223 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1432, allocations: 17.84 kB / 0.5223 GB, free: 1.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1434, allocations: 310.8 kB / 0.5226 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.1434, allocations: 0 / 0.5226 GB, free: 1.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.1434, allocations: 11.98 kB / 0.5226 GB, free: 1.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.1434, allocations: 64.2 kB / 0.5227 GB, free: 1.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1434, allocations: 0 / 0.5227 GB, free: 1.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.929e-05/0.1435, allocations: 71.34 kB / 0.5227 GB, free: 1.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.1436, allocations: 33.78 kB / 0.5228 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1436, allocations: 4 kB / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1436, allocations: 0 / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.298e-05/0.1436, allocations: 0 / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1436, allocations: 4 kB / 0.5228 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1436, allocations: 0 / 0.5228 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1436, allocations: 3.938 kB / 0.5228 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.0001013/0.1437, allocations: 139.5 kB / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.1437, allocations: 0 / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.1438, allocations: 7.156 kB / 0.5229 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1438, allocations: 7.984 kB / 0.5229 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1438, allocations: 0 / 0.5229 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1438, allocations: 3.984 kB / 0.5229 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.144, allocations: 271.3 kB / 0.5232 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.144, allocations: 4 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-06/0.144, allocations: 0 / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.144, allocations: 0 / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.144, allocations: 4 kB / 0.5232 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.144, allocations: 0 / 0.5232 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.144, allocations: 32 / 0.5232 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.1442, allocations: 169.2 kB / 0.5233 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.1442, allocations: 4 kB / 0.5233 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1442, allocations: 4 kB / 0.5234 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.1442, allocations: 0 / 0.5234 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.1443, allocations: 0 / 0.5234 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1443, allocations: 7.922 kB / 0.5234 GB, free: 388 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.834e-05/0.1443, allocations: 87.25 kB / 0.5234 GB, free: 300 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1443, allocations: 0 / 0.5234 GB, free: 300 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.1447, allocations: 123.5 kB / 0.5236 GB, free: 176 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.001073/0.1458, allocations: 0.9136 MB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1459, allocations: 59.41 kB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1459, allocations: 0 / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.146, allocations: 63.33 kB / 0.5246 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.0001898/0.1461, allocations: 4 kB / 0.5246 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1473, allocations: 1.207 MB / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1476, allocations: 0.669 MB / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.019e-05/0.1476, allocations: 4 kB / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.1476, allocations: 11.44 kB / 0.5264 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1476, allocations: 0 / 0.5264 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1714, allocations: 4.569 MB / 0.5309 GB, free: 8.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.62, allocations: 4.062 kB / 0.5309 GB, free: 8.504 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 & /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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.989874368009623]