Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001605/0.001605, allocations: 120.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.001878/0.001878, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.637/1.637, 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.2767/0.2767, allocations: 46.92 MB / 357.1 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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 79.88 kB / 0.4909 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1409, allocations: 65.99 MB / 0.5554 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003524/0.1444, allocations: 1.653 MB / 0.557 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1455, allocations: 0.6841 MB / 0.5577 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.1455, allocations: 4 kB / 0.5577 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1458, allocations: 31.83 kB / 0.5577 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.1461, allocations: 47.81 kB / 0.5577 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.731e-06/0.1461, allocations: 0 / 0.5577 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1463, allocations: 27.92 kB / 0.5578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.1463, allocations: 3.984 kB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.1464, allocations: 11.92 kB / 0.5578 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.1464, allocations: 11.94 kB / 0.5578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1465, allocations: 4 kB / 0.5578 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.226e-05/0.1465, allocations: 11.98 kB / 0.5578 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.1466, allocations: 23.92 kB / 0.5578 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1466, allocations: 23.75 kB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1468, allocations: 67.67 kB / 0.5579 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1468, allocations: 3.984 kB / 0.5579 GB, free: 3.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1468, allocations: 0 / 0.5579 GB, free: 3.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1468, allocations: 0 / 0.5579 GB, free: 3.18 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000482/0.1473, allocations: 371 kB / 0.5583 GB, free: 2.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1474, allocations: 12.03 kB / 0.5583 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.1474, allocations: 38.75 kB / 0.5583 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1474, allocations: 8.891 kB / 0.5583 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1476, allocations: 180.2 kB / 0.5585 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1477, allocations: 384 / 0.5585 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1477, allocations: 8.359 kB / 0.5585 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1479, allocations: 119.3 kB / 0.5586 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1479, allocations: 3.938 kB / 0.5586 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1479, allocations: 4 kB / 0.5586 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/0.148, allocations: 23.98 kB / 0.5587 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1481, allocations: 47.84 kB / 0.5587 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008179/0.1489, allocations: 0.8869 MB / 0.5596 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.149, allocations: 169.2 kB / 0.5597 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1491, allocations: 88.08 kB / 0.5598 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.1491, allocations: 75.28 kB / 0.5599 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/0.1492, allocations: 113.8 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1492, allocations: 0 / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.261e-05/0.1493, allocations: 37.61 kB / 0.56 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.1493, allocations: 130.6 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1496, allocations: 184.4 kB / 0.5603 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1496, allocations: 25.7 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1497, allocations: 151.5 kB / 0.5605 GB, free: 292 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-06/0.1497, allocations: 7.953 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.1498, allocations: 45.66 kB / 0.5606 GB, free: 232 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1499, allocations: 322.8 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.15, allocations: 27.98 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1501, allocations: 150.4 kB / 0.561 GB, free: 15.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1504, allocations: 212.9 kB / 0.5612 GB, free: 15.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1504, allocations: 0 / 0.5612 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003999/0.1508, allocations: 205.6 kB / 0.5614 GB, free: 15.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1508, allocations: 8 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1508, allocations: 4 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.1509, allocations: 8 kB / 0.5615 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.151, allocations: 35.92 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.151, allocations: 7.938 kB / 0.5615 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.1511, allocations: 27.83 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1511, allocations: 12 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001623/0.1513, allocations: 214 kB / 0.5617 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.1514, allocations: 116.9 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.1514, allocations: 128.6 kB / 0.562 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.368e-05/0.1515, allocations: 180.2 kB / 0.5621 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.883e-05/0.1516, allocations: 180.2 kB / 0.5623 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/0.1517, allocations: 180.2 kB / 0.5625 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.1521, allocations: 425.2 kB / 0.5629 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-05/0.1521, allocations: 104.9 kB / 0.563 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.1522, allocations: 113 kB / 0.5631 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-05/0.1523, allocations: 180.2 kB / 0.5633 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/0.1523, allocations: 176.3 kB / 0.5634 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.223e-05/0.1524, allocations: 180.3 kB / 0.5636 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.207e-05/0.1525, allocations: 184.2 kB / 0.5638 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1527, allocations: 327.6 kB / 0.5641 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.1528, allocations: 186 kB / 0.5643 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/0.1529, allocations: 176.3 kB / 0.5644 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.153, allocations: 116.9 kB / 0.5646 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.1531, allocations: 180.3 kB / 0.5647 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.1532, allocations: 104.9 kB / 0.5648 GB, free: 11.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1533, allocations: 127.2 kB / 0.565 GB, free: 11.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1533, allocations: 4 kB / 0.565 GB, free: 11.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1536, allocations: 15.94 kB / 0.565 GB, free: 11.34 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 (0): * Single equations (assignments): 0 * 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.001207/0.1548, allocations: 0.9245 MB / 0.5659 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.155, allocations: 72.91 kB / 0.5659 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.155, allocations: 4.125 kB / 0.5659 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.155, allocations: 0 / 0.5659 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1554, allocations: 465 kB / 0.5664 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1574, allocations: 1.872 MB / 0.5682 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1577, allocations: 0.7044 MB / 0.5689 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.158, allocations: 45.03 kB / 0.569 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1581, allocations: 31.42 kB / 0.569 GB, free: 7.031 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1581, allocations: 0 / 0.569 GB, free: 7.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.1871, allocations: 2.135 MB / 0.5711 GB, free: 4.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.191, allocations: 12.92 kB / 0.5711 GB, free: 4.934 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.452858784934506]