Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001857/0.001857, allocations: 120.2 kB / 18.5 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.002384/0.002384, allocations: 222.2 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.4/1.4, 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.2177/0.2177, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 75.89 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 66.05 MB / 0.5562 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003448/0.1284, allocations: 2.034 MB / 0.5582 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1306, allocations: 1.363 MB / 0.5595 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1307, allocations: 4 kB / 0.5595 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1309, allocations: 63.5 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.1314, allocations: 215.1 kB / 0.5598 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1326, allocations: 0.5929 MB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.133, allocations: 331 kB / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1332, allocations: 60.7 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.1334, allocations: 143.3 kB / 0.5608 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1336, allocations: 199.3 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1337, allocations: 12 kB / 0.561 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1338, allocations: 71.98 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.134, allocations: 151.4 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1341, allocations: 182.5 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.1346, allocations: 418 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1346, allocations: 0 / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1346, allocations: 0 / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1346, allocations: 0 / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001071/0.1357, allocations: 0.8315 MB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1357, allocations: 12.03 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.2e-05/0.1358, allocations: 4.188 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1358, allocations: 46.73 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.1361, allocations: 84.48 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.1367, allocations: 489 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.1368, allocations: 8.375 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1368, allocations: 8.375 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.1371, allocations: 151.1 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1371, allocations: 3.984 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1371, allocations: 8 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1371, allocations: 0 / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1374, allocations: 91.88 kB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.1383, allocations: 0.7151 MB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1385, allocations: 109.2 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1386, allocations: 49.81 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1387, allocations: 0 / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1387, allocations: 42.5 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.71e-07/0.1387, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001468/0.1402, allocations: 0.5657 MB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.1402, allocations: 85.11 kB / 0.565 GB, free: 12.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1413, allocations: 0.9299 MB / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1413, allocations: 29.7 kB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.1416, allocations: 272.3 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.1416, allocations: 63.47 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.1417, allocations: 33.7 kB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1418, allocations: 306 kB / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.142, allocations: 67.95 kB / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1422, allocations: 91.42 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.1426, allocations: 157.5 kB / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1426, allocations: 0 / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005088/0.1431, allocations: 253.4 kB / 0.5672 GB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1431, allocations: 7.984 kB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1431, allocations: 0.75 kB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1431, allocations: 0 / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.1433, allocations: 39.97 kB / 0.5672 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1433, allocations: 0 / 0.5672 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1435, allocations: 19.98 kB / 0.5672 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1435, allocations: 4 kB / 0.5672 GB, free: 9.957 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002174/0.1437, allocations: 221.6 kB / 0.5674 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1438, allocations: 67.58 kB / 0.5675 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.1444, allocations: 286.8 kB / 0.5678 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1444, allocations: 0 / 0.5678 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1444, allocations: 0 / 0.5678 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.1444, allocations: 7.984 kB / 0.5678 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1456, allocations: 0.814 MB / 0.5686 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1456, allocations: 0 / 0.5686 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1458, allocations: 47.91 kB / 0.5686 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1458, allocations: 0 / 0.5686 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1458, allocations: 7.984 kB / 0.5686 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1458, allocations: 0 / 0.5686 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.1458, allocations: 3.938 kB / 0.5686 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.1464, allocations: 430.3 kB / 0.5691 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.1465, allocations: 148.7 kB / 0.5692 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.1466, allocations: 8 kB / 0.5692 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.1468, allocations: 11.98 kB / 0.5692 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.1469, allocations: 15.92 kB / 0.5692 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1469, allocations: 7.984 kB / 0.5692 GB, free: 7.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007847/0.1476, allocations: 0.6864 MB / 0.5699 GB, free: 7.109 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1476, allocations: 0 / 0.5699 GB, free: 7.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.148, allocations: 56 kB / 0.57 GB, free: 7.055 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002264/0.1503, allocations: 1.253 MB / 0.5712 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.1507, allocations: 159.8 kB / 0.5713 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1507, allocations: 0 / 0.5713 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1509, allocations: 79.89 kB / 0.5714 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.1515, allocations: 89.78 kB / 0.5715 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.1583, allocations: 5.196 MB / 0.5766 GB, free: 308 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.1588, allocations: 0.8809 MB / 0.5774 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.159, allocations: 95.83 kB / 0.5775 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.1593, allocations: 179.4 kB / 0.5777 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1593, allocations: 4 kB / 0.5777 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.1885, allocations: 10.2 MB / 0.5877 GB, free: 4.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.816/9.004, allocations: 6.406 kB / 0.5877 GB, free: 4.973 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 12.374823933991138]