Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001241/0.001241, 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.001348/0.001348, 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.389/1.389, 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.2101/0.2101, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 83.88 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003658/0.1299, allocations: 1.623 MB / 0.5578 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.1309, allocations: 0.5465 MB / 0.5583 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.131, allocations: 4 kB / 0.5583 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.1315, allocations: 447.1 kB / 0.5587 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.132, allocations: 295.3 kB / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1323, allocations: 121.6 kB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1325, allocations: 171.6 kB / 0.5593 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1326, allocations: 15.98 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1327, allocations: 111.7 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.133, allocations: 247.5 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.133, allocations: 4 kB / 0.5596 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.1331, allocations: 27.98 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1332, allocations: 87.62 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1333, allocations: 99 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1336, allocations: 258.6 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1337, allocations: 4 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1337, allocations: 0 / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1337, allocations: 0 / 0.5601 GB, free: 1.488 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008039/0.1345, allocations: 0.6568 MB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1345, allocations: 8.031 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.725e-05/0.1345, allocations: 4.188 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.1345, allocations: 34.75 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1346, allocations: 44.64 kB / 0.5608 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1349, allocations: 308.5 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1349, allocations: 8.359 kB / 0.5611 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1349, allocations: 8.312 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1351, allocations: 61.92 kB / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1351, allocations: 0 / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1351, allocations: 0 / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1351, allocations: 0 / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1352, allocations: 31.97 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1357, allocations: 384.8 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1358, allocations: 34.56 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.1359, allocations: 24.94 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1359, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1359, allocations: 30.56 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1359, allocations: 4 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003407/0.1362, allocations: 125.3 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1363, allocations: 51.41 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.1371, allocations: 0.8699 MB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1372, allocations: 29.7 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1373, allocations: 216 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.1373, allocations: 7.891 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1374, allocations: 21.7 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1375, allocations: 362.7 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.1376, allocations: 15.98 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1377, allocations: 15.98 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1378, allocations: 40.83 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1378, allocations: 0 / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002017/0.138, allocations: 117.3 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.138, allocations: 4 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.138, allocations: 0 / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.138, allocations: 0 / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.1381, allocations: 8 kB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1381, allocations: 0 / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.1382, allocations: 11.94 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1382, allocations: 0 / 0.5635 GB, free: 13.75 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 (3): * Single equations (assignments): 3 * 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.000187/0.1384, allocations: 217.7 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.1384, allocations: 47.7 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.1387, allocations: 117.4 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1387, allocations: 4 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1387, allocations: 3.938 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1387, allocations: 48 / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.139, allocations: 297.5 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.139, allocations: 0 / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.1391, allocations: 12 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1391, allocations: 0 / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1391, allocations: 3.984 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1391, allocations: 3.938 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1391, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1393, allocations: 203.2 kB / 0.5644 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.1394, allocations: 112.8 kB / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1394, allocations: 8 kB / 0.5645 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1395, allocations: 4 kB / 0.5645 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1395, allocations: 7.922 kB / 0.5645 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1395, allocations: 4 kB / 0.5645 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006281/0.1402, allocations: 0.6511 MB / 0.5651 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1402, allocations: 0 / 0.5651 GB, free: 11.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1404, allocations: 19.98 kB / 0.5652 GB, free: 11.95 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 (3): * Single equations (assignments): 3 * 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.00169/0.1421, allocations: 0.9901 MB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1423, allocations: 39.91 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1423, allocations: 0 / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.1424, allocations: 23.92 kB / 0.5662 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1427, allocations: 26.23 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.1463, allocations: 3.186 MB / 0.5693 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.1467, allocations: 0.822 MB / 0.5701 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.1468, allocations: 15.8 kB / 0.5701 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1469, allocations: 107.4 kB / 0.5702 GB, free: 6.723 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1469, allocations: 0 / 0.5702 GB, free: 6.723 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1688, allocations: 5.83 MB / 0.5759 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/8.67, allocations: 7.125 kB / 0.5759 GB, free: 0.9336 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.581689451995771]