Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001862/0.001862, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002386/0.002386, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.486/1.486, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2293/0.2293, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.81 kB / 0.4913 GB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1283, allocations: 65.99 MB / 0.5557 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00296/0.1312, allocations: 1.657 MB / 0.5573 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1324, allocations: 0.584 MB / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.1324, allocations: 0 / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.133, allocations: 455.1 kB / 0.5583 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.1335, allocations: 291.3 kB / 0.5586 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.134, allocations: 177 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1342, allocations: 175.7 kB / 0.5589 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1343, allocations: 15.98 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1345, allocations: 107.7 kB / 0.5591 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.1347, allocations: 251.5 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1347, allocations: 4 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.1348, allocations: 39.97 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1349, allocations: 79.7 kB / 0.5594 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.135, allocations: 110.9 kB / 0.5595 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.1354, allocations: 274.6 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1354, allocations: 0 / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1354, allocations: 0 / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1354, allocations: 0 / 0.5598 GB, free: 1.941 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.0008259/0.1363, allocations: 0.6684 MB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1363, allocations: 15.97 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.1363, allocations: 30.75 kB / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.1364, allocations: 44.66 kB / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.1368, allocations: 316.6 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1368, allocations: 384 / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1368, allocations: 4.375 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.137, allocations: 50.25 kB / 0.5609 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.137, allocations: 7.922 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.137, allocations: 3.984 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.137, allocations: 4 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.1371, allocations: 31.92 kB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1376, allocations: 404.7 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1378, allocations: 54.5 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1379, allocations: 12.94 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1379, allocations: 0 / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1379, allocations: 34.56 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1379, allocations: 4 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006451/0.1385, allocations: 244.7 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1386, allocations: 51.41 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/0.1395, allocations: 0.8738 MB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.1396, allocations: 29.7 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.1398, allocations: 232 kB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1398, allocations: 19.86 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.992e-05/0.1399, allocations: 17.72 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1401, allocations: 366.7 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1401, allocations: 19.98 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.1402, allocations: 19.98 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1403, allocations: 52.83 kB / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1403, allocations: 4 kB / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000224/0.1406, allocations: 129.3 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1406, allocations: 4 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1406, allocations: 3.938 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1406, allocations: 0 / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.1407, allocations: 15.98 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1407, allocations: 0 / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.1407, allocations: 4 kB / 0.5634 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1407, allocations: 7.984 kB / 0.5634 GB, free: 13.96 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 (5): * Single equations (assignments): 5 * 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.0001927/0.1409, allocations: 213.7 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.141, allocations: 47.67 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1413, allocations: 141.1 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1413, allocations: 4 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1413, allocations: 0 / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1413, allocations: 7.922 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.1419, allocations: 474.7 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1419, allocations: 0 / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.979e-05/0.1419, allocations: 19.98 kB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1419, allocations: 0 / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1419, allocations: 4 kB / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1419, allocations: 3.938 kB / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1419, allocations: 0 / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1422, allocations: 223.2 kB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.1423, allocations: 108.8 kB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1423, allocations: 0 / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.1424, allocations: 15.92 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1425, allocations: 4 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1425, allocations: 0 / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000643/0.1431, allocations: 0.6589 MB / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1431, allocations: 4 kB / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1434, allocations: 31.89 kB / 0.5653 GB, free: 11.92 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 (5): * Single equations (assignments): 5 * 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.002018/0.1454, allocations: 1.064 MB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1456, allocations: 55.95 kB / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1456, allocations: 0 / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.1457, allocations: 27.92 kB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1461, allocations: 30.23 kB / 0.5665 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.15, allocations: 3.271 MB / 0.5697 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.1506, allocations: 0.8299 MB / 0.5705 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.808e-05/0.1507, allocations: 12.66 kB / 0.5705 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1508, allocations: 115.4 kB / 0.5706 GB, free: 6.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1508, allocations: 0 / 0.5706 GB, free: 6.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.1797, allocations: 6.146 MB / 0.5766 GB, free: 416 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/8.902, allocations: 14.88 kB / 0.5766 GB, free: 404 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.97933218209073]