Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001229/0.001229, 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.001292/0.001292, 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.46/1.46, allocations: 230.5 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.2209/0.2209, allocations: 46.92 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 83.88 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1198, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003016/0.1228, allocations: 1.66 MB / 0.5578 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.1238, allocations: 0.5762 MB / 0.5584 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.1238, allocations: 3.938 kB / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.1245, allocations: 459.1 kB / 0.5588 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.1249, allocations: 291.3 kB / 0.5591 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.1254, allocations: 181.9 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1257, allocations: 171.6 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1258, allocations: 15.98 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1259, allocations: 123.6 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.1262, allocations: 243.5 kB / 0.5598 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1262, allocations: 8 kB / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.1263, allocations: 31.97 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1264, allocations: 79.7 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1266, allocations: 110.9 kB / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.1269, allocations: 270.6 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1269, allocations: 0 / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1269, allocations: 4 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1269, allocations: 0 / 0.5603 GB, free: 1.348 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.0008396/0.1278, allocations: 0.6606 MB / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1278, allocations: 16.03 kB / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.615e-05/0.1278, allocations: 192 / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1278, allocations: 34.75 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1279, allocations: 44.66 kB / 0.561 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1282, allocations: 308.6 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.1282, allocations: 8.312 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1282, allocations: 4.375 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1284, allocations: 61.98 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1284, allocations: 3.984 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1284, allocations: 8 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1284, allocations: 0 / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1285, allocations: 23.98 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.1291, allocations: 412.5 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1293, allocations: 38.56 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.1293, allocations: 24.94 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1294, allocations: 4.062 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1294, allocations: 30.56 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1294, allocations: 0 / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006435/0.13, allocations: 248.7 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1301, allocations: 55.41 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/0.131, allocations: 0.8738 MB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.131, allocations: 25.7 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1312, allocations: 228.1 kB / 0.5633 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1312, allocations: 19.8 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1312, allocations: 13.72 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1314, allocations: 374.7 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.1315, allocations: 19.98 kB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1315, allocations: 27.92 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1317, allocations: 52.83 kB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1317, allocations: 3.984 kB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000232/0.1319, allocations: 121.3 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1319, allocations: 4 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1319, allocations: 4 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.132, allocations: 4 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.132, allocations: 11.98 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.132, allocations: 0 / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.1321, allocations: 11.92 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1321, allocations: 7.938 kB / 0.5639 GB, free: 13.36 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.0001937/0.1323, allocations: 209.8 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.1324, allocations: 43.67 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.1327, allocations: 145.2 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1327, allocations: 0 / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1327, allocations: 3.984 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1327, allocations: 0 / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.1332, allocations: 478.7 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1332, allocations: 4.062 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.1333, allocations: 15.98 kB / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1333, allocations: 4 kB / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1333, allocations: 0 / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1333, allocations: 3.938 kB / 0.5648 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1333, allocations: 288 / 0.5648 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1336, allocations: 219.2 kB / 0.565 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.1337, allocations: 120.8 kB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1337, allocations: 0 / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.1338, allocations: 15.92 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1338, allocations: 0 / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.1338, allocations: 4 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006788/0.1345, allocations: 0.6589 MB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1345, allocations: 0 / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1348, allocations: 31.89 kB / 0.5658 GB, free: 11.32 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.001947/0.1367, allocations: 1.054 MB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1369, allocations: 55.89 kB / 0.5669 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1369, allocations: 0 / 0.5669 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.137, allocations: 23.98 kB / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1374, allocations: 30.23 kB / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1413, allocations: 3.287 MB / 0.5701 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.1418, allocations: 0.826 MB / 0.5709 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.207e-05/0.1418, allocations: 16.64 kB / 0.571 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.142, allocations: 123.4 kB / 0.5711 GB, free: 5.898 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.142, allocations: 0 / 0.5711 GB, free: 5.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1645, allocations: 6.171 MB / 0.5771 GB, free: 15.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.563, allocations: 12.55 kB / 0.5771 GB, free: 15.77 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.582459277997259]