Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001348/0.001348, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001436/0.001436, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.507/1.507, allocations: 230.6 MB / 254.1 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.2324/0.2324, allocations: 46.91 MB / 357.1 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.89 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.133, allocations: 65.99 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003508/0.1365, allocations: 2.053 MB / 0.5574 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1388, allocations: 1.36 MB / 0.5587 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.139, allocations: 7.938 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1392, allocations: 55.52 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.1398, allocations: 207.1 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1411, allocations: 0.5953 MB / 0.5596 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.1415, allocations: 331 kB / 0.5599 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1417, allocations: 56.72 kB / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.142, allocations: 151.2 kB / 0.5601 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1422, allocations: 199.3 kB / 0.5603 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.1422, allocations: 15.98 kB / 0.5603 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1424, allocations: 63.92 kB / 0.5603 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1426, allocations: 151.5 kB / 0.5605 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1427, allocations: 174.6 kB / 0.5606 GB, free: 436 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.1432, allocations: 421.8 kB / 0.5611 GB, free: 12 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1432, allocations: 0 / 0.5611 GB, free: 12 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1432, allocations: 0 / 0.5611 GB, free: 12 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1432, allocations: 3.984 kB / 0.5611 GB, free: 8 kB / 414.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.001194/0.1444, allocations: 0.8354 MB / 0.5619 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1445, allocations: 8.031 kB / 0.5619 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.1445, allocations: 38.75 kB / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.1448, allocations: 84.48 kB / 0.562 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.1455, allocations: 493 kB / 0.5625 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1456, allocations: 8.375 kB / 0.5625 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.1456, allocations: 15.94 kB / 0.5625 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1459, allocations: 146.2 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1459, allocations: 0 / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1459, allocations: 8 kB / 0.5626 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1459, allocations: 0 / 0.5626 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.1462, allocations: 91.88 kB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009896/0.1472, allocations: 0.7151 MB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1474, allocations: 113.2 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1475, allocations: 41.83 kB / 0.5636 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1476, allocations: 7.922 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1476, allocations: 42.55 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1476, allocations: 0 / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001569/0.1491, allocations: 0.5699 MB / 0.5642 GB, free: 12.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1492, allocations: 85.11 kB / 0.5643 GB, free: 12.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1503, allocations: 0.9299 MB / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1503, allocations: 25.7 kB / 0.5652 GB, free: 11.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.1506, allocations: 272.3 kB / 0.5654 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.1507, allocations: 55.55 kB / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.1508, allocations: 33.7 kB / 0.5655 GB, free: 11.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1509, allocations: 313.9 kB / 0.5658 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1511, allocations: 71.89 kB / 0.5659 GB, free: 10.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1513, allocations: 87.98 kB / 0.566 GB, free: 10.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.1517, allocations: 157.8 kB / 0.5661 GB, free: 10.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1517, allocations: 0 / 0.5661 GB, free: 10.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005444/0.1523, allocations: 249.1 kB / 0.5664 GB, free: 10.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1523, allocations: 4 kB / 0.5664 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1523, allocations: 3.938 kB / 0.5664 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1523, allocations: 0 / 0.5664 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1525, allocations: 39.97 kB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1525, allocations: 4 kB / 0.5664 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1527, allocations: 15.98 kB / 0.5664 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1527, allocations: 4 kB / 0.5664 GB, free: 10.21 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.0002312/0.1529, allocations: 223.8 kB / 0.5667 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.1531, allocations: 63.58 kB / 0.5667 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/0.1538, allocations: 286.9 kB / 0.567 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1538, allocations: 4.219 kB / 0.567 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1538, allocations: 3.984 kB / 0.567 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1538, allocations: 3.938 kB / 0.567 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.155, allocations: 0.822 MB / 0.5678 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.155, allocations: 0 / 0.5678 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.1552, allocations: 47.91 kB / 0.5678 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1552, allocations: 0 / 0.5678 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1552, allocations: 7.984 kB / 0.5679 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.1552, allocations: 7.938 kB / 0.5679 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1552, allocations: 0 / 0.5679 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.1558, allocations: 422.2 kB / 0.5683 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.156, allocations: 152.7 kB / 0.5684 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.1561, allocations: 4 kB / 0.5684 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1563, allocations: 19.86 kB / 0.5684 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1563, allocations: 11.98 kB / 0.5684 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1563, allocations: 11.98 kB / 0.5685 GB, free: 8.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008073/0.1571, allocations: 0.6786 MB / 0.5691 GB, free: 7.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1571, allocations: 0 / 0.5691 GB, free: 7.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1575, allocations: 56 kB / 0.5692 GB, free: 7.305 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.002437/0.1599, allocations: 1.26 MB / 0.5704 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.1605, allocations: 166.9 kB / 0.5706 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1605, allocations: 0 / 0.5706 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.1607, allocations: 79.89 kB / 0.5706 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.1613, allocations: 78.89 kB / 0.5707 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/0.1685, allocations: 5.196 MB / 0.5758 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.1691, allocations: 0.8799 MB / 0.5766 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.1693, allocations: 91.2 kB / 0.5767 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.1696, allocations: 175.4 kB / 0.5769 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1696, allocations: 4 kB / 0.5769 GB, free: 15.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.2049, allocations: 10.18 MB / 0.5869 GB, free: 5.266 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.009/9.213, allocations: 5 kB / 0.5869 GB, free: 5.262 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.767737241927534]