Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001455/0.001455, allocations: 117.6 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.001239/0.001239, 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.429/1.429, allocations: 225.6 MB / 249.8 MB, free: 3.77 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.2332/0.2332, allocations: 44.91 MB / 349.6 MB, free: 1.805 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 61.84 kB / 491.8 MB, free: 30.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1243, allocations: 64.27 MB / 0.543 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002837/0.1271, allocations: 1.572 MB / 0.5446 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.1279, allocations: 431.1 kB / 0.545 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.128, allocations: 0 / 0.545 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.1285, allocations: 459.1 kB / 0.5454 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.1289, allocations: 255.4 kB / 0.5456 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1293, allocations: 167.3 kB / 0.5458 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1295, allocations: 163.6 kB / 0.546 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.1296, allocations: 4.281 kB / 0.546 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1297, allocations: 111.8 kB / 0.5461 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.13, allocations: 239.5 kB / 0.5463 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.13, allocations: 8 kB / 0.5463 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.13, allocations: 20 kB / 0.5463 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1301, allocations: 87.62 kB / 0.5464 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.1302, allocations: 99 kB / 0.5465 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1305, allocations: 258.6 kB / 0.5468 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1305, allocations: 0 / 0.5468 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1305, allocations: 0 / 0.5468 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1305, allocations: 0 / 0.5468 GB, free: 308 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007545/0.1313, allocations: 0.6413 MB / 0.5474 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1313, allocations: 12.03 kB / 0.5474 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.1314, allocations: 38.75 kB / 0.5474 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.1314, allocations: 40.66 kB / 0.5475 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1318, allocations: 312.5 kB / 0.5478 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1318, allocations: 384 / 0.5478 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1318, allocations: 4.375 kB / 0.5478 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1319, allocations: 49.62 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1319, allocations: 0 / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1319, allocations: 0 / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1319, allocations: 4 kB / 0.5478 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.132, allocations: 27.92 kB / 0.5478 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.1325, allocations: 388.7 kB / 0.5482 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.1326, allocations: 38.5 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.1327, allocations: 8.922 kB / 0.5483 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1327, allocations: 0 / 0.5483 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1327, allocations: 42.56 kB / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1327, allocations: 0 / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002516/0.133, allocations: 101.3 kB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.133, allocations: 55.41 kB / 0.5485 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008418/0.1338, allocations: 0.8653 MB / 0.5493 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1339, allocations: 25.7 kB / 0.5493 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.134, allocations: 232.2 kB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.1341, allocations: 0 / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1341, allocations: 13.72 kB / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1343, allocations: 362.7 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.1343, allocations: 11.98 kB / 0.5499 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.1343, allocations: 11.98 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.1344, allocations: 28.91 kB / 0.55 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1344, allocations: 4 kB / 0.55 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001511/0.1346, allocations: 101.3 kB / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1346, allocations: 4 kB / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1346, allocations: 0 / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1346, allocations: 4 kB / 0.5501 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.1347, allocations: 11.98 kB / 0.5501 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1347, allocations: 0 / 0.5501 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.1347, allocations: 0 / 0.5501 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1347, allocations: 4 kB / 0.5501 GB, free: 12.66 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 (2): * Single equations (assignments): 2 * 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.0001945/0.1349, allocations: 217.7 kB / 0.5503 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.135, allocations: 43.72 kB / 0.5503 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.1352, allocations: 104.6 kB / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1352, allocations: 0 / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1352, allocations: 0 / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1352, allocations: 0 / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1355, allocations: 293.4 kB / 0.5507 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1355, allocations: 32 / 0.5507 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1355, allocations: 11.98 kB / 0.5507 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1355, allocations: 0 / 0.5507 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1355, allocations: 4 kB / 0.5507 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1355, allocations: 3.938 kB / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1355, allocations: 0 / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1357, allocations: 191.2 kB / 0.5509 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.1358, allocations: 116.9 kB / 0.551 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1359, allocations: 3.938 kB / 0.551 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.1359, allocations: 7.984 kB / 0.551 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.136, allocations: 0 / 0.551 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.136, allocations: 3.938 kB / 0.551 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006463/0.1366, allocations: 0.655 MB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1366, allocations: 0 / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1368, allocations: 19.92 kB / 0.5517 GB, free: 10.9 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.001627/0.1385, allocations: 0.963 MB / 0.5526 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1386, allocations: 23.98 kB / 0.5527 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1386, allocations: 0 / 0.5527 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.1386, allocations: 15.92 kB / 0.5527 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.139, allocations: 33.75 kB / 0.5527 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.1425, allocations: 3.154 MB / 0.5558 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.1431, allocations: 0.8297 MB / 0.5566 GB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.438e-05/0.1431, allocations: 19.98 kB / 0.5566 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1433, allocations: 111.4 kB / 0.5567 GB, free: 5.758 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1433, allocations: 0 / 0.5567 GB, free: 5.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.1713, allocations: 5.787 MB / 0.5624 GB, free: 8 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.545, allocations: 15.31 kB / 0.5624 GB, free: 15.99 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.656367204152048]