Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001934/0.001934, allocations: 113 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.002292/0.002292, allocations: 217.4 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.587/1.587, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2408/0.2408, allocations: 46.93 MB / 357.8 MB, free: 10.28 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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.89 kB / 0.4916 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1347, allocations: 65.99 MB / 0.5561 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003212/0.138, allocations: 1.62 MB / 0.5577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1391, allocations: 0.5705 MB / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.1391, allocations: 4 kB / 0.5582 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.1398, allocations: 455.1 kB / 0.5586 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.1403, allocations: 295.3 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.1408, allocations: 170.8 kB / 0.5591 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1411, allocations: 175.6 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1412, allocations: 16 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1413, allocations: 115.7 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1416, allocations: 247.5 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1416, allocations: 0 / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.1417, allocations: 27.98 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1418, allocations: 87.67 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.142, allocations: 103 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.1423, allocations: 266.6 kB / 0.5601 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1423, allocations: 4 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1423, allocations: 0 / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1423, allocations: 0 / 0.5601 GB, free: 1.664 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008409/0.1432, allocations: 0.6607 MB / 0.5607 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1432, allocations: 12.03 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.555e-05/0.1432, allocations: 192 / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.1433, allocations: 30.75 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.1433, allocations: 44.66 kB / 0.5608 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.1437, allocations: 312.6 kB / 0.5611 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-06/0.1437, allocations: 384 / 0.5611 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1437, allocations: 12.12 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1439, allocations: 49.67 kB / 0.5612 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1439, allocations: 3.984 kB / 0.5612 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1439, allocations: 3.938 kB / 0.5612 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1439, allocations: 4 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1441, allocations: 35.97 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.1446, allocations: 400.7 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1448, allocations: 42.56 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.1448, allocations: 20.94 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1449, allocations: 3.938 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1449, allocations: 38.56 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1449, allocations: 0 / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003682/0.1452, allocations: 129.4 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1453, allocations: 51.41 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/0.1463, allocations: 0.8776 MB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1463, allocations: 29.64 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.1465, allocations: 220 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1465, allocations: 11.91 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1466, allocations: 25.7 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.1468, allocations: 358.7 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1469, allocations: 15.98 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.147, allocations: 23.92 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1471, allocations: 52.81 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1471, allocations: 0 / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002396/0.1474, allocations: 109.4 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1474, allocations: 7.984 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1474, allocations: 0 / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1474, allocations: 0 / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1475, allocations: 12 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1475, allocations: 0 / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.1476, allocations: 7.984 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1476, allocations: 4 kB / 0.5636 GB, free: 13.85 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 (3): * Single equations (assignments): 3 * 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.0002277/0.1478, allocations: 219.8 kB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.1479, allocations: 47.72 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.1482, allocations: 125.1 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1482, allocations: 0 / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1482, allocations: 0 / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1482, allocations: 384 / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.1486, allocations: 293.5 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1486, allocations: 0 / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.1486, allocations: 11.98 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1486, allocations: 0 / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1487, allocations: 4 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1487, allocations: 0 / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1487, allocations: 0 / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.149, allocations: 227 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.1491, allocations: 112.8 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1491, allocations: 4 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.1492, allocations: 0 / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.1492, allocations: 7.984 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.1492, allocations: 0 / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007234/0.1499, allocations: 0.6628 MB / 0.5652 GB, free: 12.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1499, allocations: 0 / 0.5652 GB, free: 12.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1502, allocations: 27.88 kB / 0.5652 GB, free: 12.03 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 (3): * Single equations (assignments): 3 * 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.001833/0.152, allocations: 0.997 MB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1523, allocations: 39.97 kB / 0.5663 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1523, allocations: 0 / 0.5663 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1523, allocations: 19.98 kB / 0.5663 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1527, allocations: 28.02 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.1569, allocations: 3.225 MB / 0.5695 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.1574, allocations: 0.826 MB / 0.5703 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.1574, allocations: 23.73 kB / 0.5703 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1576, allocations: 111.4 kB / 0.5704 GB, free: 6.762 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1576, allocations: 3.938 kB / 0.5704 GB, free: 6.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.1796, allocations: 5.902 MB / 0.5762 GB, free: 0.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.16/9.34, allocations: 4.062 kB / 0.5762 GB, free: 0.9141 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.62952515197685]