Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.00134/0.00134, allocations: 125.8 kB / 18.51 MB, free: 4.555 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.00138/0.00138, allocations: 215.2 kB / 21.46 MB, free: 1.602 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.524/1.524, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2515/0.2515, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 80.56 kB / 0.4913 GB, free: 26.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1204, allocations: 65.98 MB / 0.5557 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00346/0.1238, allocations: 1.668 MB / 0.5573 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1257, allocations: 1.19 MB / 0.5585 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.1257, allocations: 0 / 0.5585 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.1259, allocations: 19.86 kB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1262, allocations: 95.61 kB / 0.5586 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1266, allocations: 129.5 kB / 0.5587 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1268, allocations: 75.75 kB / 0.5588 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.1269, allocations: 12.22 kB / 0.5588 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.1269, allocations: 31.86 kB / 0.5588 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1271, allocations: 43.77 kB / 0.5589 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1271, allocations: 8 kB / 0.5589 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1273, allocations: 95.92 kB / 0.559 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.1273, allocations: 23.92 kB / 0.559 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.1274, allocations: 31.73 kB / 0.559 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1277, allocations: 147.5 kB / 0.5592 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1277, allocations: 4 kB / 0.5592 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1277, allocations: 0 / 0.5592 GB, free: 5.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1277, allocations: 3.938 kB / 0.5592 GB, free: 5.523 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.000642/0.1283, allocations: 426.7 kB / 0.5596 GB, free: 5.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1284, allocations: 8.031 kB / 0.5596 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.1284, allocations: 34.73 kB / 0.5596 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.1285, allocations: 8.891 kB / 0.5596 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1287, allocations: 196.2 kB / 0.5598 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1287, allocations: 384 / 0.5598 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1287, allocations: 8.328 kB / 0.5598 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1289, allocations: 67.95 kB / 0.5599 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.129, allocations: 7.938 kB / 0.5599 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.129, allocations: 4 kB / 0.5599 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.129, allocations: 11.97 kB / 0.5599 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1291, allocations: 31.97 kB / 0.56 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.1295, allocations: 300.7 kB / 0.5602 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1297, allocations: 46.55 kB / 0.5603 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.1297, allocations: 20.94 kB / 0.5603 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1298, allocations: 4 kB / 0.5603 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1298, allocations: 30.56 kB / 0.5603 GB, free: 4.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1298, allocations: 0 / 0.5603 GB, free: 4.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008903/0.1307, allocations: 213.3 kB / 0.5605 GB, free: 3.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1307, allocations: 85.03 kB / 0.5606 GB, free: 3.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1309, allocations: 156.4 kB / 0.5608 GB, free: 3.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1309, allocations: 25.7 kB / 0.5608 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.131, allocations: 100.1 kB / 0.5609 GB, free: 3.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.131, allocations: 23.75 kB / 0.5609 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1311, allocations: 25.7 kB / 0.5609 GB, free: 3.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1312, allocations: 322.8 kB / 0.5612 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1314, allocations: 31.97 kB / 0.5613 GB, free: 3.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1315, allocations: 53.73 kB / 0.5613 GB, free: 3.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1317, allocations: 72.84 kB / 0.5614 GB, free: 3.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1317, allocations: 4 kB / 0.5614 GB, free: 3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002854/0.132, allocations: 109.6 kB / 0.5615 GB, free: 2.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.132, allocations: 9.812 kB / 0.5615 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.132, allocations: 0 / 0.5615 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.132, allocations: 0 / 0.5615 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1322, allocations: 23.98 kB / 0.5615 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1322, allocations: 0 / 0.5615 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.1322, allocations: 15.98 kB / 0.5616 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1323, allocations: 0 / 0.5616 GB, free: 2.84 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 (7): * Single equations (assignments): 7 * 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.0001019/0.1324, allocations: 125.8 kB / 0.5617 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.1324, allocations: 7.953 kB / 0.5617 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.1327, allocations: 130.6 kB / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1327, allocations: 0 / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1328, allocations: 0 / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1328, allocations: 0 / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.1333, allocations: 402.4 kB / 0.5622 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1333, allocations: 0 / 0.5622 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.1334, allocations: 23.98 kB / 0.5622 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1334, allocations: 3.938 kB / 0.5622 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1334, allocations: 0 / 0.5622 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1335, allocations: 3.938 kB / 0.5622 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1335, allocations: 4 kB / 0.5622 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1338, allocations: 215.4 kB / 0.5624 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.1339, allocations: 85.06 kB / 0.5625 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1339, allocations: 4 kB / 0.5625 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.134, allocations: 15.92 kB / 0.5625 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.134, allocations: 7.984 kB / 0.5625 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.134, allocations: 0 / 0.5625 GB, free: 1.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1342, allocations: 126.1 kB / 0.5627 GB, free: 1.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1342, allocations: 0 / 0.5627 GB, free: 1.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1345, allocations: 39.88 kB / 0.5627 GB, free: 1.562 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 (7): * Single equations (assignments): 7 * 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.002321/0.1368, allocations: 1.13 MB / 0.5638 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1371, allocations: 79.94 kB / 0.5639 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1371, allocations: 0 / 0.5639 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1372, allocations: 47.89 kB / 0.5639 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1376, allocations: 21.25 kB / 0.5639 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1398, allocations: 1.589 MB / 0.5655 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1402, allocations: 0.6963 MB / 0.5662 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.559e-05/0.1402, allocations: 16.97 kB / 0.5662 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.1403, allocations: 27.42 kB / 0.5662 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1403, allocations: 0 / 0.5662 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.1669, allocations: 3.545 MB / 0.5697 GB, free: 10.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.565, allocations: 12 kB / 0.5697 GB, free: 10.46 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.731822488829494]