Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 83.88 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.123, allocations: 66.04 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003199/0.1262, allocations: 1.708 MB / 0.5578 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1272, allocations: 0.58 MB / 0.5584 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.1272, allocations: 0 / 0.5584 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.1274, allocations: 19.8 kB / 0.5584 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1277, allocations: 83.61 kB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.128, allocations: 142.5 kB / 0.5586 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1282, allocations: 91.7 kB / 0.5587 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1283, allocations: 11.98 kB / 0.5587 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.1283, allocations: 39.84 kB / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.1284, allocations: 43.77 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1284, allocations: 4 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1286, allocations: 103.9 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.1287, allocations: 23.92 kB / 0.5589 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1287, allocations: 39.72 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.129, allocations: 171.4 kB / 0.5591 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.129, allocations: 0 / 0.5591 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.129, allocations: 4 kB / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1291, allocations: 0 / 0.5592 GB, free: 2.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007456/0.1298, allocations: 450.5 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1298, allocations: 8.031 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.415e-05/0.1299, allocations: 8.125 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.462e-05/0.1299, allocations: 38.73 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.1299, allocations: 8.891 kB / 0.5596 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1302, allocations: 204.2 kB / 0.5598 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1302, allocations: 4.359 kB / 0.5598 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1302, allocations: 4.375 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1305, allocations: 91.67 kB / 0.5599 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1305, allocations: 4 kB / 0.5599 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1305, allocations: 0 / 0.5599 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1305, allocations: 0 / 0.5599 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.1308, allocations: 71.91 kB / 0.56 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.1313, allocations: 316.7 kB / 0.5603 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1316, allocations: 74.53 kB / 0.5604 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1317, allocations: 40.94 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1318, allocations: 0 / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1318, allocations: 46.44 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1318, allocations: 0 / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001633/0.1334, allocations: 385 kB / 0.5608 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1335, allocations: 77.11 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1337, allocations: 170.1 kB / 0.5611 GB, free: 300 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1337, allocations: 25.7 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.1338, allocations: 96.14 kB / 0.5612 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1338, allocations: 39.69 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.1339, allocations: 25.72 kB / 0.5612 GB, free: 96 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.134, allocations: 322.8 kB / 0.5615 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.1343, allocations: 67.92 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.1346, allocations: 93.56 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.1352, allocations: 148.8 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1352, allocations: 0 / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006641/0.1359, allocations: 189.4 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1359, allocations: 5.719 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1359, allocations: 4.375 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1359, allocations: 0 / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.1361, allocations: 43.95 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1361, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1363, allocations: 31.78 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1363, allocations: 7.984 kB / 0.5621 GB, free: 15.18 MB / 430.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 (10): * Single equations (assignments): 10 * 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.0001178/0.1364, allocations: 125.8 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.1365, allocations: 15.91 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.1372, allocations: 198.2 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1372, allocations: 7.938 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1372, allocations: 0 / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.1372, allocations: 3.938 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.1382, allocations: 0.4906 MB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1382, allocations: 0 / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.1384, allocations: 35.97 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1384, allocations: 7.938 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1384, allocations: 0 / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1384, allocations: 0 / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1384, allocations: 0 / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.1391, allocations: 291.2 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.1391, allocations: 89.06 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1392, allocations: 7.922 kB / 0.5633 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1393, allocations: 23.97 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.1394, allocations: 11.98 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1394, allocations: 4.375 kB / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1395, allocations: 123.2 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1395, allocations: 288 / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.1399, allocations: 47.86 kB / 0.5635 GB, free: 13.61 MB / 430.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 (9): * Single equations (assignments): 9 * 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.002655/0.1425, allocations: 1.227 MB / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006774/0.1432, allocations: 159.7 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1432, allocations: 0 / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.1435, allocations: 75.92 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1438, allocations: 23.97 kB / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.1469, allocations: 1.868 MB / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1473, allocations: 0.7041 MB / 0.5675 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.309e-05/0.1474, allocations: 16.55 kB / 0.5675 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.1474, allocations: 43.41 kB / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1474, allocations: 0 / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.1664, allocations: 4.327 MB / 0.5718 GB, free: 5.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.142, allocations: 19.86 kB / 0.5718 GB, free: 5.211 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.202803430031054]