Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001811/0.001811, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002228/0.002228, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2302/0.2302, allocations: 46.93 MB / 357.8 MB, free: 10.31 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 59.91 kB / 0.4916 GB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1424, allocations: 65.99 MB / 0.5561 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003247/0.1457, allocations: 1.683 MB / 0.5577 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1468, allocations: 0.5728 MB / 0.5583 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1468, allocations: 11.94 kB / 0.5583 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.1474, allocations: 459.1 kB / 0.5587 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.1479, allocations: 287.3 kB / 0.559 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.1483, allocations: 183.4 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.1486, allocations: 175.7 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1487, allocations: 16.22 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1488, allocations: 115.7 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.1491, allocations: 255.5 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1491, allocations: 4 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1492, allocations: 51.92 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1493, allocations: 91.67 kB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.1494, allocations: 111 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.1498, allocations: 278.5 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1498, allocations: 0 / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1498, allocations: 4 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1498, allocations: 0 / 0.5602 GB, free: 1.496 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.0008054/0.1506, allocations: 0.68 MB / 0.5609 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1507, allocations: 11.97 kB / 0.5609 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.1507, allocations: 4.188 kB / 0.5609 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.1507, allocations: 38.75 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.1508, allocations: 44.66 kB / 0.561 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1511, allocations: 308.6 kB / 0.5613 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.1511, allocations: 384 / 0.5613 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1512, allocations: 12.12 kB / 0.5613 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1513, allocations: 65.61 kB / 0.5614 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1513, allocations: 3.984 kB / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1513, allocations: 0 / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1513, allocations: 4 kB / 0.5614 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1515, allocations: 31.97 kB / 0.5614 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.152, allocations: 412.6 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1522, allocations: 46.56 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.1522, allocations: 20.94 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1522, allocations: 0 / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1523, allocations: 30.56 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1523, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.00103/0.1533, allocations: 340.5 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.1533, allocations: 55.34 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.1543, allocations: 0.8738 MB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1543, allocations: 25.7 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1545, allocations: 232.1 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1545, allocations: 27.75 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.1545, allocations: 25.7 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.1548, allocations: 362.8 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.1549, allocations: 31.97 kB / 0.5638 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.1549, allocations: 39.97 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1551, allocations: 72.83 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1551, allocations: 0 / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002842/0.1554, allocations: 157.2 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1554, allocations: 9.875 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1554, allocations: 0 / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1555, allocations: 3.938 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1556, allocations: 15.98 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1556, allocations: 4 kB / 0.5641 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.1556, allocations: 11.92 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1556, allocations: 0 / 0.5641 GB, free: 13.3 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.0002006/0.1558, allocations: 220 kB / 0.5643 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.1559, allocations: 43.72 kB / 0.5644 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.1563, allocations: 177.5 kB / 0.5645 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1563, allocations: 3.938 kB / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1563, allocations: 0 / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1563, allocations: 0 / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.157, allocations: 0.5343 MB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.157, allocations: 0 / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.1571, allocations: 15.98 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1571, allocations: 4 kB / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1571, allocations: 0 / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1571, allocations: 0 / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1571, allocations: 0 / 0.5651 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1574, allocations: 252.8 kB / 0.5653 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.1575, allocations: 124.8 kB / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1575, allocations: 0 / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.1576, allocations: 7.984 kB / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1577, allocations: 4 kB / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1577, allocations: 7.984 kB / 0.5654 GB, free: 11.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006786/0.1584, allocations: 0.6667 MB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1584, allocations: 0 / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1587, allocations: 27.94 kB / 0.5661 GB, free: 11.11 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.002364/0.161, allocations: 1.145 MB / 0.5672 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1613, allocations: 71.95 kB / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1613, allocations: 7.938 kB / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1614, allocations: 43.91 kB / 0.5674 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1618, allocations: 26.3 kB / 0.5674 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.166, allocations: 3.395 MB / 0.5707 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.1665, allocations: 0.8338 MB / 0.5715 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.1666, allocations: 20.72 kB / 0.5715 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.1667, allocations: 123.4 kB / 0.5717 GB, free: 5.492 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1667, allocations: 0 / 0.5717 GB, free: 5.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1896, allocations: 6.542 MB / 0.578 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.055/9.245, allocations: 10.84 kB / 0.5781 GB, free: 15 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.512896639003884]