Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 75.89 kB / 0.4917 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1247, allocations: 65.98 MB / 0.5561 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003325/0.128, allocations: 1.684 MB / 0.5577 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1291, allocations: 0.5806 MB / 0.5583 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.1292, allocations: 7.938 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.13, allocations: 459.1 kB / 0.5587 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.1305, allocations: 291.3 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.131, allocations: 175 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.1314, allocations: 175.7 kB / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1315, allocations: 24.16 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1317, allocations: 115.7 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.132, allocations: 251.5 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.132, allocations: 4 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1321, allocations: 47.98 kB / 0.5598 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1322, allocations: 95.61 kB / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1324, allocations: 111 kB / 0.56 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.1328, allocations: 278.5 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1328, allocations: 8 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1328, allocations: 0 / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1328, allocations: 0 / 0.5602 GB, free: 1.512 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009191/0.1337, allocations: 0.6723 MB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1337, allocations: 8.031 kB / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.432e-05/0.1337, allocations: 4.188 kB / 0.5609 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1338, allocations: 34.75 kB / 0.5609 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.1339, allocations: 44.66 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.1343, allocations: 312.5 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1343, allocations: 8.359 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1343, allocations: 12.06 kB / 0.5613 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1345, allocations: 57.67 kB / 0.5614 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1345, allocations: 0 / 0.5614 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1345, allocations: 4 kB / 0.5614 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1345, allocations: 0 / 0.5614 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1347, allocations: 31.92 kB / 0.5614 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.1354, allocations: 416.7 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1355, allocations: 46.59 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.1355, allocations: 20.94 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1356, allocations: 0 / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1356, allocations: 30.56 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1356, allocations: 8 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001121/0.1367, allocations: 336.4 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1368, allocations: 51.41 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1379, allocations: 0.8738 MB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.138, allocations: 29.7 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1382, allocations: 232.1 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1383, allocations: 27.75 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.1384, allocations: 21.7 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.1386, allocations: 362.8 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1387, allocations: 35.91 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.1388, allocations: 35.98 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.139, allocations: 80.81 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.139, allocations: 0 / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003246/0.1393, allocations: 149.3 kB / 0.564 GB, free: 13.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1393, allocations: 9.875 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1393, allocations: 0 / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1393, allocations: 3.938 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1395, allocations: 23.92 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1395, allocations: 4 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.1395, allocations: 7.984 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1395, allocations: 0 / 0.5641 GB, free: 13.32 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 (8): * Single equations (assignments): 8 * 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.0002301/0.1398, allocations: 220 kB / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.1398, allocations: 40.14 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.1402, allocations: 173.5 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1402, allocations: 7.938 kB / 0.5645 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1402, allocations: 3.938 kB / 0.5645 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1403, allocations: 3.984 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.141, allocations: 0.5303 MB / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1411, allocations: 0 / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.1411, allocations: 15.98 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1411, allocations: 4 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1411, allocations: 4.031 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1411, allocations: 0 / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1411, allocations: 4 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1415, allocations: 248.3 kB / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.1416, allocations: 124.8 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1416, allocations: 0 / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1417, allocations: 15.98 kB / 0.5654 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1418, allocations: 4 kB / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1418, allocations: 8 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007371/0.1425, allocations: 0.6589 MB / 0.5661 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1425, allocations: 0 / 0.5661 GB, free: 11.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1428, allocations: 27.94 kB / 0.5661 GB, free: 11.13 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 (8): * Single equations (assignments): 8 * 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.002332/0.1452, allocations: 1.146 MB / 0.5672 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1455, allocations: 71.95 kB / 0.5673 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1455, allocations: 0 / 0.5673 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1456, allocations: 43.91 kB / 0.5674 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.146, allocations: 26.3 kB / 0.5674 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.1508, allocations: 3.396 MB / 0.5707 GB, free: 6.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.1513, allocations: 0.8337 MB / 0.5715 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.287e-05/0.1514, allocations: 24.72 kB / 0.5715 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.1516, allocations: 123.4 kB / 0.5716 GB, free: 5.512 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1516, allocations: 0 / 0.5716 GB, free: 5.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.1758, allocations: 6.537 MB / 0.578 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/9.27, allocations: 11.05 kB / 0.578 GB, free: 15.02 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.565072486991994]