Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001683/0.001683, allocations: 117 kB / 18.49 MB, free: 4.566 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.002025/0.002025, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.395/1.395, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2157/0.2157, allocations: 46.93 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 83.88 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1309, allocations: 66.05 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00355/0.1344, allocations: 1.659 MB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1364, allocations: 1.186 MB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.1364, allocations: 4 kB / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1366, allocations: 19.86 kB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.137, allocations: 87.55 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1374, allocations: 134 kB / 0.5592 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1376, allocations: 71.81 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1377, allocations: 8 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.1377, allocations: 35.84 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1379, allocations: 39.78 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1379, allocations: 4 kB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.1382, allocations: 103.9 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.1382, allocations: 19.91 kB / 0.5595 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.1383, allocations: 31.75 kB / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1386, allocations: 159.4 kB / 0.5596 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1386, allocations: 0 / 0.5596 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1386, allocations: 0 / 0.5596 GB, free: 1.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1386, allocations: 0 / 0.5596 GB, free: 1.953 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.000629/0.1393, allocations: 418.7 kB / 0.56 GB, free: 1.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1393, allocations: 15.97 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.548e-05/0.1393, allocations: 4.172 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.1394, allocations: 34.75 kB / 0.5601 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1394, allocations: 8.891 kB / 0.5601 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1396, allocations: 204.2 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1396, allocations: 384 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.1397, allocations: 12.33 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1399, allocations: 75.64 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1399, allocations: 0 / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1399, allocations: 7.984 kB / 0.5604 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1399, allocations: 4 kB / 0.5604 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.14, allocations: 39.91 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1404, allocations: 296.8 kB / 0.5607 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1406, allocations: 38.56 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.1407, allocations: 20.94 kB / 0.5608 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1407, allocations: 4 kB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1407, allocations: 34.56 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1407, allocations: 3.938 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008352/0.1415, allocations: 209.3 kB / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.1416, allocations: 89.03 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1418, allocations: 148.9 kB / 0.5612 GB, free: 104 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1418, allocations: 29.7 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.1419, allocations: 96.12 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1419, allocations: 27.81 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.142, allocations: 25.7 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1422, allocations: 318.8 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1423, allocations: 35.97 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1424, allocations: 49.67 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1427, allocations: 68.81 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1427, allocations: 0 / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003093/0.143, allocations: 121.6 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.143, allocations: 4 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.143, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.143, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1431, allocations: 19.98 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1431, allocations: 0 / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.1432, allocations: 15.98 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1432, allocations: 3.938 kB / 0.562 GB, free: 15.26 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 (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 9.927e-05/0.1433, allocations: 121.8 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.1434, allocations: 7.953 kB / 0.5621 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.1437, allocations: 130.6 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1437, allocations: 0 / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1437, allocations: 7.938 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1437, allocations: 3.938 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.1443, allocations: 398.4 kB / 0.5627 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1443, allocations: 0 / 0.5627 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.1444, allocations: 23.92 kB / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1444, allocations: 0 / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1444, allocations: 0 / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1444, allocations: 7.938 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1444, allocations: 0 / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1448, allocations: 211.4 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.1448, allocations: 89.06 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1448, allocations: 0 / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.145, allocations: 24.2 kB / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.145, allocations: 7.984 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.145, allocations: 4 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1451, allocations: 121.6 kB / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1451, allocations: 0 / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1454, allocations: 39.88 kB / 0.5632 GB, free: 13.98 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 (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.002276/0.1477, allocations: 1.135 MB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.148, allocations: 71.94 kB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.148, allocations: 3.938 kB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1481, allocations: 43.95 kB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1485, allocations: 22.25 kB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1507, allocations: 1.597 MB / 0.566 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1511, allocations: 0.6924 MB / 0.5666 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.1512, allocations: 16.95 kB / 0.5667 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1512, allocations: 31.42 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1512, allocations: 4 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1734, allocations: 3.564 MB / 0.5702 GB, free: 6.844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.133, allocations: 15.02 kB / 0.5702 GB, free: 6.832 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.077344103017822]