Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001821/0.001821, allocations: 119 kB / 18.5 MB, free: 4.602 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.002087/0.002087, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.496 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.2144/0.2144, allocations: 44.92 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 72.7 kB / 491.8 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1281, allocations: 64.25 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003229/0.1314, allocations: 1.636 MB / 0.5446 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008581/0.1322, allocations: 435.1 kB / 0.545 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.1323, allocations: 4 kB / 0.545 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.133, allocations: 451.1 kB / 0.5455 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.1333, allocations: 255.4 kB / 0.5457 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1337, allocations: 127.3 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1339, allocations: 167.7 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.134, allocations: 12.22 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1341, allocations: 107.8 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1344, allocations: 255.5 kB / 0.5464 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1344, allocations: 7.938 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1345, allocations: 51.97 kB / 0.5464 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1346, allocations: 83.69 kB / 0.5465 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.1347, allocations: 103 kB / 0.5466 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1351, allocations: 270.6 kB / 0.5469 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1351, allocations: 0 / 0.5469 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1351, allocations: 0 / 0.5469 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1351, allocations: 4 kB / 0.5469 GB, free: 168 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.0008295/0.1359, allocations: 0.6625 MB / 0.5475 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1359, allocations: 8.031 kB / 0.5475 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.136, allocations: 38.75 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.136, allocations: 44.59 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1364, allocations: 304.6 kB / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1364, allocations: 384 / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1364, allocations: 16.3 kB / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1366, allocations: 57.62 kB / 0.5479 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1366, allocations: 4 kB / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1366, allocations: 0 / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1366, allocations: 3.984 kB / 0.548 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.1367, allocations: 27.97 kB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.1372, allocations: 404.6 kB / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1373, allocations: 42.56 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.1374, allocations: 20.94 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1374, allocations: 4.094 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1374, allocations: 34.5 kB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1375, allocations: 0 / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009196/0.1384, allocations: 316.5 kB / 0.5488 GB, free: 14.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1384, allocations: 55.34 kB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.1393, allocations: 0.8574 MB / 0.5497 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1394, allocations: 33.7 kB / 0.5497 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.1396, allocations: 216.1 kB / 0.5499 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1396, allocations: 31.73 kB / 0.5499 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.1396, allocations: 17.72 kB / 0.5499 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1398, allocations: 366.8 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.1399, allocations: 23.97 kB / 0.5503 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.14, allocations: 32.05 kB / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1401, allocations: 60.83 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1401, allocations: 3.938 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002399/0.1404, allocations: 133.4 kB / 0.5505 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1404, allocations: 5.094 kB / 0.5505 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1404, allocations: 0 / 0.5505 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1404, allocations: 4 kB / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1405, allocations: 23.92 kB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1405, allocations: 0 / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.1406, allocations: 15.88 kB / 0.5506 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1406, allocations: 4 kB / 0.5506 GB, free: 12.1 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.0002124/0.1408, allocations: 217.7 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.1408, allocations: 47.66 kB / 0.5508 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.1412, allocations: 149.5 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1412, allocations: 3.938 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1412, allocations: 4 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1412, allocations: 3.984 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.1418, allocations: 0.4992 MB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1419, allocations: 4 kB / 0.5515 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.1419, allocations: 15.98 kB / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1419, allocations: 0 / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1419, allocations: 4 kB / 0.5515 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1419, allocations: 3.938 kB / 0.5515 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1419, allocations: 0 / 0.5515 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1422, allocations: 252.4 kB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1423, allocations: 108.8 kB / 0.5519 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1424, allocations: 7.984 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.1425, allocations: 4 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1425, allocations: 12.41 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1425, allocations: 4 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006843/0.1432, allocations: 0.6511 MB / 0.5525 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1432, allocations: 0 / 0.5525 GB, free: 10.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1435, allocations: 35.92 kB / 0.5526 GB, free: 9.977 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.002252/0.1457, allocations: 1.124 MB / 0.5536 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1459, allocations: 67.89 kB / 0.5537 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1459, allocations: 4 kB / 0.5537 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.146, allocations: 27.98 kB / 0.5537 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.1465, allocations: 41.66 kB / 0.5538 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.1505, allocations: 3.304 MB / 0.557 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.151, allocations: 0.8298 MB / 0.5578 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.634e-05/0.1511, allocations: 16.72 kB / 0.5578 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1513, allocations: 103.4 kB / 0.5579 GB, free: 4.516 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1513, allocations: 0 / 0.5579 GB, free: 4.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.1806, allocations: 6.324 MB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.649, allocations: 3.047 kB / 0.5641 GB, free: 14.2 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.852101569995284]