Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001851/0.001851, allocations: 114.3 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.002545/0.002545, allocations: 219 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.532/1.532, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 44.91 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.89 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1259, allocations: 65.43 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003147/0.129, allocations: 1.659 MB / 0.5541 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1303, allocations: 0.5806 MB / 0.5546 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.1303, allocations: 0 / 0.5546 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.131, allocations: 459.1 kB / 0.5551 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005078/0.1315, allocations: 291.3 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.132, allocations: 178.6 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.1323, allocations: 179.5 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1324, allocations: 16.22 kB / 0.5557 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1325, allocations: 115.7 kB / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1328, allocations: 243.5 kB / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1329, allocations: 4 kB / 0.5561 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.1329, allocations: 35.98 kB / 0.5561 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1331, allocations: 87.62 kB / 0.5562 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1332, allocations: 103 kB / 0.5563 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1336, allocations: 274.6 kB / 0.5565 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1336, allocations: 0 / 0.5565 GB, free: 5.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1336, allocations: 0 / 0.5565 GB, free: 5.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1336, allocations: 0 / 0.5565 GB, free: 5.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008521/0.1345, allocations: 0.6646 MB / 0.5572 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1345, allocations: 8.031 kB / 0.5572 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.1345, allocations: 4.188 kB / 0.5572 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1346, allocations: 38.73 kB / 0.5572 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.1346, allocations: 40.66 kB / 0.5573 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.135, allocations: 312.5 kB / 0.5576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.135, allocations: 4.375 kB / 0.5576 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.135, allocations: 8.109 kB / 0.5576 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1352, allocations: 61.66 kB / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1352, allocations: 0 / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1352, allocations: 3.938 kB / 0.5577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1352, allocations: 0 / 0.5577 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1353, allocations: 31.97 kB / 0.5577 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.1359, allocations: 404.6 kB / 0.5581 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1361, allocations: 42.56 kB / 0.5581 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.1362, allocations: 20.94 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1362, allocations: 4 kB / 0.5581 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1362, allocations: 30.56 kB / 0.5582 GB, free: 4.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1362, allocations: 4 kB / 0.5582 GB, free: 4.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006992/0.1369, allocations: 248.6 kB / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.137, allocations: 51.41 kB / 0.5585 GB, free: 3.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009226/0.1379, allocations: 0.8893 MB / 0.5593 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1379, allocations: 25.7 kB / 0.5593 GB, free: 2.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1381, allocations: 224.1 kB / 0.5596 GB, free: 2.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1381, allocations: 15.86 kB / 0.5596 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.1382, allocations: 21.7 kB / 0.5596 GB, free: 2.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1384, allocations: 358.8 kB / 0.5599 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.1384, allocations: 23.97 kB / 0.56 GB, free: 2.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.1385, allocations: 23.98 kB / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1387, allocations: 56.83 kB / 0.56 GB, free: 2.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1387, allocations: 0 / 0.56 GB, free: 2.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002409/0.1389, allocations: 121.4 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1389, allocations: 8 kB / 0.5602 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1389, allocations: 3.984 kB / 0.5602 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.139, allocations: 0 / 0.5602 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.139, allocations: 15.92 kB / 0.5602 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.139, allocations: 7.938 kB / 0.5602 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.1391, allocations: 4 kB / 0.5602 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1391, allocations: 4 kB / 0.5602 GB, free: 1.91 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0002126/0.1393, allocations: 219.9 kB / 0.5604 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.1394, allocations: 51.61 kB / 0.5605 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.1397, allocations: 137.2 kB / 0.5606 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1397, allocations: 4 kB / 0.5606 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1397, allocations: 7.938 kB / 0.5606 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1397, allocations: 0 / 0.5606 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.1403, allocations: 470.8 kB / 0.561 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1403, allocations: 0 / 0.561 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.1403, allocations: 20.05 kB / 0.5611 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1403, allocations: 3.938 kB / 0.5611 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1403, allocations: 0 / 0.5611 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1403, allocations: 4 kB / 0.5611 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1404, allocations: 4 kB / 0.5611 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1406, allocations: 223.1 kB / 0.5613 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.1407, allocations: 116.8 kB / 0.5614 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1408, allocations: 3.938 kB / 0.5614 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.1409, allocations: 4 kB / 0.5614 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.1409, allocations: 11.98 kB / 0.5614 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1409, allocations: 4.281 kB / 0.5614 GB, free: 0.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007662/0.1417, allocations: 0.6589 MB / 0.5621 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1417, allocations: 0 / 0.5621 GB, free: 15.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.142, allocations: 23.95 kB / 0.5621 GB, free: 15.86 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 (5): * Single equations (assignments): 5 * 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.002217/0.1442, allocations: 1.069 MB / 0.5631 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1444, allocations: 51.91 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1444, allocations: 0 / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/0.1445, allocations: 31.91 kB / 0.5632 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.145, allocations: 31.55 kB / 0.5632 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.1491, allocations: 3.271 MB / 0.5664 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.1496, allocations: 0.826 MB / 0.5672 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1497, allocations: 20.64 kB / 0.5673 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.1499, allocations: 115.4 kB / 0.5674 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1499, allocations: 0 / 0.5674 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1727, allocations: 6.195 MB / 0.5734 GB, free: 4.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.312, allocations: 2.969 kB / 0.5734 GB, free: 4.328 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.664875925984234]