Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001769/0.001769, allocations: 119 kB / 18.5 MB, free: 4.566 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.002065/0.002065, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.508/1.508, allocations: 225.6 MB / 249.8 MB, free: 3.512 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.2169/0.2169, allocations: 44.92 MB / 349.6 MB, free: 1.73 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 69.25 kB / 491.8 MB, free: 29.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1135, allocations: 64.25 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003024/0.1165, allocations: 1.638 MB / 0.5446 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.1174, allocations: 467 kB / 0.5451 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.1174, allocations: 0 / 0.5451 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.118, allocations: 455.1 kB / 0.5455 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1184, allocations: 247.4 kB / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.1188, allocations: 176.1 kB / 0.5459 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.119, allocations: 171.7 kB / 0.5461 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1191, allocations: 15.92 kB / 0.5461 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1192, allocations: 115.7 kB / 0.5462 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1195, allocations: 255.5 kB / 0.5464 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1195, allocations: 4 kB / 0.5464 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1196, allocations: 47.98 kB / 0.5465 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.1197, allocations: 87.67 kB / 0.5466 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.081e-05/0.1198, allocations: 103 kB / 0.5467 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1201, allocations: 278.5 kB / 0.5469 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1202, allocations: 0 / 0.5469 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1202, allocations: 4 kB / 0.5469 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1202, allocations: 0 / 0.5469 GB, free: 88 kB / 398.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.0008028/0.121, allocations: 0.6704 MB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.121, allocations: 8.031 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.121, allocations: 34.75 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.1211, allocations: 40.66 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.1214, allocations: 304.6 kB / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1214, allocations: 12.31 kB / 0.548 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1214, allocations: 384 / 0.548 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1216, allocations: 69.55 kB / 0.548 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1216, allocations: 4 kB / 0.5481 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1216, allocations: 4 kB / 0.5481 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1216, allocations: 0 / 0.5481 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.1217, allocations: 31.97 kB / 0.5481 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.1223, allocations: 408.6 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1224, allocations: 50.5 kB / 0.5485 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1224, allocations: 20.94 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1224, allocations: 0 / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1225, allocations: 30.56 kB / 0.5486 GB, free: 14.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1225, allocations: 0 / 0.5486 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009255/0.1234, allocations: 336.6 kB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1234, allocations: 59.28 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.1243, allocations: 0.8653 MB / 0.5498 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1243, allocations: 25.7 kB / 0.5498 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1245, allocations: 228 kB / 0.55 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1245, allocations: 31.73 kB / 0.5501 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1246, allocations: 21.72 kB / 0.5501 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1248, allocations: 362.8 kB / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.1248, allocations: 27.98 kB / 0.5505 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.1249, allocations: 31.97 kB / 0.5505 GB, free: 12.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1251, allocations: 77.03 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1251, allocations: 4 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002479/0.1253, allocations: 153.3 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1253, allocations: 4 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1254, allocations: 0 / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1254, allocations: 4 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.1255, allocations: 19.92 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1255, allocations: 0 / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.1255, allocations: 4 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1255, allocations: 4 kB / 0.5507 GB, free: 11.95 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 (8): * Single equations (assignments): 8 * 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.0001926/0.1257, allocations: 221.8 kB / 0.551 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.1258, allocations: 43.72 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.1261, allocations: 173.4 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1261, allocations: 7.875 kB / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1261, allocations: 0 / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1261, allocations: 4 kB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.1268, allocations: 0.5187 MB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.1268, allocations: 3.984 kB / 0.5517 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.1269, allocations: 12 kB / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1269, allocations: 4 kB / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1269, allocations: 3.938 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1269, allocations: 3.984 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1269, allocations: 0 / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1272, allocations: 252 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1273, allocations: 120.8 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1273, allocations: 3.984 kB / 0.5521 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.1274, allocations: 8 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1275, allocations: 7.984 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1275, allocations: 4 kB / 0.5521 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006506/0.1281, allocations: 0.655 MB / 0.5527 GB, free: 9.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1281, allocations: 0 / 0.5527 GB, free: 9.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1284, allocations: 35.92 kB / 0.5528 GB, free: 9.766 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002122/0.1305, allocations: 1.131 MB / 0.5539 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1308, allocations: 79.94 kB / 0.5539 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1308, allocations: 0 / 0.5539 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.1309, allocations: 47.84 kB / 0.554 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1313, allocations: 26.3 kB / 0.554 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.1351, allocations: 3.359 MB / 0.5573 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.1356, allocations: 0.8336 MB / 0.5581 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.1357, allocations: 20.72 kB / 0.5581 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1359, allocations: 123.4 kB / 0.5582 GB, free: 4.203 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1359, allocations: 0 / 0.5582 GB, free: 4.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.1652, allocations: 6.417 MB / 0.5645 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/8.68, allocations: 14.2 kB / 0.5645 GB, free: 13.8 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.824752001091838]