Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001433/0.001433, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001659/0.001659, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.5/1.5, 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.2234/0.2234, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 71.91 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1233, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003593/0.1269, allocations: 1.662 MB / 0.557 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1281, allocations: 0.5767 MB / 0.5576 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.1281, allocations: 11.88 kB / 0.5576 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.1287, allocations: 455.1 kB / 0.558 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.1293, allocations: 295.3 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.1298, allocations: 175 kB / 0.5585 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.1301, allocations: 179.6 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1302, allocations: 12 kB / 0.5587 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1303, allocations: 115.7 kB / 0.5588 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.1306, allocations: 247.5 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1306, allocations: 4 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1307, allocations: 31.92 kB / 0.559 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1309, allocations: 87.67 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.131, allocations: 110.9 kB / 0.5592 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1314, allocations: 266.6 kB / 0.5595 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1314, allocations: 4 kB / 0.5595 GB, free: 1.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1314, allocations: 0 / 0.5595 GB, free: 1.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1314, allocations: 0 / 0.5595 GB, free: 1.637 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.0008714/0.1323, allocations: 0.6645 MB / 0.5601 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1323, allocations: 8.031 kB / 0.5601 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1323, allocations: 38.75 kB / 0.5602 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1324, allocations: 44.59 kB / 0.5602 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1328, allocations: 308.6 kB / 0.5605 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1328, allocations: 4.375 kB / 0.5605 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1328, allocations: 4.375 kB / 0.5605 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.133, allocations: 61.61 kB / 0.5606 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.133, allocations: 0 / 0.5606 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.133, allocations: 0 / 0.5606 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.133, allocations: 0 / 0.5606 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1331, allocations: 31.98 kB / 0.5606 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.1338, allocations: 408.7 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.134, allocations: 50.55 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.1341, allocations: 16.94 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1341, allocations: 0 / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1341, allocations: 38.5 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1341, allocations: 4 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007482/0.1349, allocations: 244.6 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1349, allocations: 55.34 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1359, allocations: 0.8737 MB / 0.5622 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1359, allocations: 25.7 kB / 0.5623 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.1362, allocations: 232.1 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1362, allocations: 15.8 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.1362, allocations: 21.72 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1364, allocations: 366.8 kB / 0.5629 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1365, allocations: 23.92 kB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.1366, allocations: 19.98 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1368, allocations: 57 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1368, allocations: 4 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002545/0.137, allocations: 121.4 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.137, allocations: 11.94 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.137, allocations: 0 / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.137, allocations: 7.922 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.1371, allocations: 8 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1371, allocations: 4 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.1372, allocations: 7.922 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1372, allocations: 4 kB / 0.5631 GB, free: 13.65 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 (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.0002285/0.1374, allocations: 213.8 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.1375, allocations: 51.66 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.1378, allocations: 137.2 kB / 0.5635 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1378, allocations: 3.938 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1378, allocations: 4 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1378, allocations: 3.938 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.1385, allocations: 466.5 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1385, allocations: 0 / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.1385, allocations: 15.98 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1385, allocations: 0 / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1385, allocations: 3.938 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1385, allocations: 0 / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1385, allocations: 4 kB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1389, allocations: 223.4 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.139, allocations: 116.9 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.139, allocations: 11.94 kB / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.1391, allocations: 4 kB / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1391, allocations: 0 / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1391, allocations: 7.984 kB / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007501/0.1399, allocations: 0.655 MB / 0.565 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1399, allocations: 0 / 0.565 GB, free: 11.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1402, allocations: 35.88 kB / 0.565 GB, free: 11.61 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.002142/0.1423, allocations: 1.061 MB / 0.5661 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1425, allocations: 51.97 kB / 0.5661 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1426, allocations: 4 kB / 0.5661 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.1426, allocations: 31.91 kB / 0.5661 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1431, allocations: 24.81 kB / 0.5662 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.1474, allocations: 3.275 MB / 0.5694 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.1479, allocations: 0.826 MB / 0.5702 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.148, allocations: 20.64 kB / 0.5702 GB, free: 6.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.1481, allocations: 119.4 kB / 0.5703 GB, free: 6.215 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1481, allocations: 0 / 0.5703 GB, free: 6.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.1811, allocations: 6.145 MB / 0.5763 GB, free: 120 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/8.95, allocations: 7.875 kB / 0.5763 GB, free: 112 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.039221690036356]