Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.8 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.93 MB / 349.6 MB, free: 1.691 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.75 kB / 491.8 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1143, allocations: 64.25 MB / 0.543 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003005/0.1173, allocations: 1.649 MB / 0.5446 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.1182, allocations: 467 kB / 0.5451 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.1183, allocations: 4 kB / 0.5451 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.1189, allocations: 455.1 kB / 0.5455 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1192, allocations: 251.5 kB / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1197, allocations: 168.2 kB / 0.5459 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.12, allocations: 179.6 kB / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1201, allocations: 19.92 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1202, allocations: 111.7 kB / 0.5462 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.1205, allocations: 255.5 kB / 0.5465 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1205, allocations: 4 kB / 0.5465 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1207, allocations: 51.91 kB / 0.5465 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1208, allocations: 87.69 kB / 0.5466 GB, free: 380 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1209, allocations: 106.9 kB / 0.5467 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.1213, allocations: 278.7 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1213, allocations: 0 / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1213, allocations: 0 / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1213, allocations: 4 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008814/0.1222, allocations: 0.6761 MB / 0.5476 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1222, allocations: 8.031 kB / 0.5476 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.1222, allocations: 34.69 kB / 0.5477 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.1223, allocations: 44.66 kB / 0.5477 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.1226, allocations: 304.6 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1226, allocations: 8.375 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1227, allocations: 4.359 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1229, allocations: 69.61 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1229, allocations: 3.938 kB / 0.5481 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1229, allocations: 4 kB / 0.5481 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1229, allocations: 4 kB / 0.5481 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.123, allocations: 43.94 kB / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.1236, allocations: 412.7 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1239, allocations: 62.58 kB / 0.5486 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1239, allocations: 24.97 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.124, allocations: 3.938 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.124, allocations: 34.56 kB / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.124, allocations: 0 / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001506/0.1255, allocations: 0.4963 MB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.1256, allocations: 55.34 kB / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/0.1266, allocations: 0.8691 MB / 0.55 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1266, allocations: 25.7 kB / 0.5501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1268, allocations: 220 kB / 0.5503 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.1268, allocations: 43.64 kB / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1269, allocations: 25.72 kB / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1271, allocations: 366.8 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1272, allocations: 48.53 kB / 0.5507 GB, free: 11.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1273, allocations: 51.95 kB / 0.5508 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1276, allocations: 128.8 kB / 0.5509 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1276, allocations: 0 / 0.5509 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003725/0.128, allocations: 197.6 kB / 0.5511 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.128, allocations: 11.92 kB / 0.5511 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.128, allocations: 0 / 0.5511 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.128, allocations: 3.938 kB / 0.5511 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1281, allocations: 27.98 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1281, allocations: 4 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.1282, allocations: 7.984 kB / 0.5511 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1282, allocations: 8 kB / 0.5512 GB, free: 11.46 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0002037/0.1284, allocations: 213.8 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.1285, allocations: 47.67 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.1289, allocations: 233.3 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1289, allocations: 7.938 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1289, allocations: 0 / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1289, allocations: 3.984 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.1298, allocations: 0.5975 MB / 0.5522 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1298, allocations: 0 / 0.5522 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.1299, allocations: 23.98 kB / 0.5522 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1299, allocations: 4 kB / 0.5523 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1299, allocations: 7.984 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1299, allocations: 0 / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1299, allocations: 4 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.1303, allocations: 308.8 kB / 0.5526 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1304, allocations: 116.8 kB / 0.5527 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1305, allocations: 4 kB / 0.5527 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1306, allocations: 15.92 kB / 0.5527 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1306, allocations: 11.98 kB / 0.5527 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1306, allocations: 8 kB / 0.5527 GB, free: 9.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006244/0.1313, allocations: 0.6472 MB / 0.5533 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1313, allocations: 0 / 0.5533 GB, free: 9.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1315, allocations: 35.92 kB / 0.5534 GB, free: 9.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.002301/0.1338, allocations: 1.196 MB / 0.5545 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.1342, allocations: 119.9 kB / 0.5547 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1342, allocations: 0 / 0.5547 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1344, allocations: 63.89 kB / 0.5547 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1348, allocations: 32.58 kB / 0.5547 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.1393, allocations: 3.529 MB / 0.5582 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.1399, allocations: 0.8376 MB / 0.559 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.14, allocations: 32.52 kB / 0.559 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1401, allocations: 123.4 kB / 0.5592 GB, free: 3.188 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1401, allocations: 4 kB / 0.5592 GB, free: 3.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.1702, allocations: 6.653 MB / 0.5657 GB, free: 12.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/8.724, allocations: 14.92 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 11.768515266943723]