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.001779/0.001779, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002815/0.002815, allocations: 213.6 kB / 23.77 MB, free: 4.551 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.508/1.508, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2374/0.2374, allocations: 44.27 MB / 331.1 MB, free: 9.309 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions",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.002181/0.002181, allocations: 71.89 kB / 468.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1267, allocations: 61.04 MB / 0.5169 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.001786/0.1285, allocations: 0.5026 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1322, allocations: 2.22 MB / 0.5196 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1323, allocations: 0 / 0.5196 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1323, allocations: 0 / 0.5196 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.1323, allocations: 0 / 0.5196 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1341, allocations: 0.588 MB / 0.5201 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.668e-05/0.1342, allocations: 4 kB / 0.5201 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.1342, allocations: 4 kB / 0.5202 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.1342, allocations: 3.984 kB / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.759e-05/0.1342, allocations: 0 / 0.5202 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-06/0.1342, allocations: 4 kB / 0.5202 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.1355, allocations: 0.7058 MB / 0.5208 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.1355, allocations: 0 / 0.5208 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1355, allocations: 0 / 0.5208 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.1362, allocations: 447.1 kB / 0.5213 GB, free: 2.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1362, allocations: 0 / 0.5213 GB, free: 2.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1362, allocations: 0 / 0.5213 GB, free: 2.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1362, allocations: 0 / 0.5213 GB, free: 2.68 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.0005748/0.1368, allocations: 367.1 kB / 0.5216 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.1369, allocations: 11.97 kB / 0.5216 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.094e-05/0.1369, allocations: 192 / 0.5216 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.137, allocations: 30.75 kB / 0.5217 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.137, allocations: 12.94 kB / 0.5217 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1371, allocations: 102.5 kB / 0.5218 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1371, allocations: 384 / 0.5218 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1371, allocations: 4.359 kB / 0.5218 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1373, allocations: 63.34 kB / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1373, allocations: 4 kB / 0.5218 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1373, allocations: 3.938 kB / 0.5218 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1373, allocations: 0 / 0.5218 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.1373, allocations: 25.7 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1376, allocations: 204 kB / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.1377, allocations: 52.31 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.1378, allocations: 46.59 kB / 0.5222 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1378, allocations: 0 / 0.5222 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.115e-05/0.1378, allocations: 64.2 kB / 0.5222 GB, free: 1.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1378, allocations: 0 / 0.5222 GB, free: 1.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002892/0.1381, allocations: 126.8 kB / 0.5223 GB, free: 1.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.1382, allocations: 77.11 kB / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.1383, allocations: 89.86 kB / 0.5225 GB, free: 1.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1383, allocations: 25.7 kB / 0.5225 GB, free: 1.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.1383, allocations: 80.27 kB / 0.5226 GB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1383, allocations: 7.953 kB / 0.5226 GB, free: 1.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1384, allocations: 17.72 kB / 0.5226 GB, free: 1.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1385, allocations: 314.8 kB / 0.5229 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.1385, allocations: 33.62 kB / 0.523 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.1386, allocations: 29.7 kB / 0.523 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/0.1386, allocations: 72.14 kB / 0.5231 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1386, allocations: 0 / 0.5231 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.1387, allocations: 97.09 kB / 0.5232 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.1388, allocations: 29.8 kB / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1388, allocations: 4 kB / 0.5232 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1388, allocations: 0 / 0.5232 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.1388, allocations: 0 / 0.5232 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1388, allocations: 4 kB / 0.5232 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.1388, allocations: 3.938 kB / 0.5232 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1389, allocations: 0 / 0.5232 GB, free: 428 kB / 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.0001787/0.139, allocations: 139.5 kB / 0.5233 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1391, allocations: 3.984 kB / 0.5233 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.1391, allocations: 7.156 kB / 0.5233 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1391, allocations: 0 / 0.5233 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1391, allocations: 7.938 kB / 0.5233 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1391, allocations: 0 / 0.5233 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1394, allocations: 293.1 kB / 0.5236 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1394, allocations: 0 / 0.5236 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-06/0.1394, allocations: 4 kB / 0.5236 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1394, allocations: 0 / 0.5236 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1394, allocations: 0 / 0.5236 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1394, allocations: 0 / 0.5236 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1394, allocations: 3.984 kB / 0.5236 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1396, allocations: 206.8 kB / 0.5238 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.1396, allocations: 11.98 kB / 0.5238 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1396, allocations: 4 kB / 0.5238 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.1397, allocations: 0 / 0.5238 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.1397, allocations: 3.984 kB / 0.5238 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1397, allocations: 0 / 0.5238 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.1397, allocations: 83.22 kB / 0.5239 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1397, allocations: 0 / 0.5239 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005987/0.1403, allocations: 155.4 kB / 0.5241 GB, free: 15.41 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.001247/0.1416, allocations: 0.9947 MB / 0.525 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1417, allocations: 114.8 kB / 0.5252 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1418, allocations: 0 / 0.5252 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.1418, allocations: 85.11 kB / 0.5252 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.142, allocations: 4 kB / 0.5252 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1432, allocations: 1.352 MB / 0.5266 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.1433, allocations: 55.36 kB / 0.5266 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.19e-05/0.1433, allocations: 0 / 0.5266 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.1433, allocations: 11.38 kB / 0.5266 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1433, allocations: 0 / 0.5266 GB, free: 12.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.1676, allocations: 4.747 MB / 0.5313 GB, free: 7.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.89, allocations: 16.8 kB / 0.5313 GB, free: 7.812 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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: 15.174386334023438]