Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001349/0.001349, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002155/0.002155, allocations: 215 kB / 21.45 MB, free: 1.617 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.467/1.467, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2292/0.2292, allocations: 44.91 MB / 355.8 MB, free: 12.31 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001943/0.001943, allocations: 72.17 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1264, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004125/0.1305, allocations: 1.661 MB / 0.5541 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1325, allocations: 1.21 MB / 0.5553 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.1326, allocations: 0 / 0.5553 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1329, allocations: 35.78 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1332, allocations: 83.61 kB / 0.5554 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.1338, allocations: 175 kB / 0.5555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.134, allocations: 79.77 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1341, allocations: 20.19 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.956e-05/0.1342, allocations: 35.86 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1344, allocations: 47.7 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1344, allocations: 4 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.1346, allocations: 99.92 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1347, allocations: 23.92 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1348, allocations: 27.8 kB / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1351, allocations: 155.4 kB / 0.556 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1351, allocations: 4 kB / 0.556 GB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1351, allocations: 0 / 0.556 GB, free: 6.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1351, allocations: 0 / 0.556 GB, free: 6.461 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.0006375/0.1357, allocations: 426.7 kB / 0.5564 GB, free: 5.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1358, allocations: 12.02 kB / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.1358, allocations: 192 / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.1358, allocations: 34.75 kB / 0.5565 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1359, allocations: 8.891 kB / 0.5565 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1361, allocations: 204.2 kB / 0.5567 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1361, allocations: 4.375 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1361, allocations: 8.125 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1363, allocations: 79.36 kB / 0.5568 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1363, allocations: 0 / 0.5568 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1363, allocations: 4 kB / 0.5568 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1363, allocations: 0 / 0.5568 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1365, allocations: 43.97 kB / 0.5568 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.137, allocations: 316.6 kB / 0.5571 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1371, allocations: 42.55 kB / 0.5571 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.1372, allocations: 28.94 kB / 0.5572 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1372, allocations: 12.06 kB / 0.5572 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1372, allocations: 30.56 kB / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1372, allocations: 0 / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008488/0.1381, allocations: 233.3 kB / 0.5574 GB, free: 4.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1381, allocations: 85.05 kB / 0.5575 GB, free: 4.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1383, allocations: 163.1 kB / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1383, allocations: 25.7 kB / 0.5577 GB, free: 4.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.1384, allocations: 100 kB / 0.5578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1385, allocations: 23.84 kB / 0.5578 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1385, allocations: 17.72 kB / 0.5578 GB, free: 4.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1386, allocations: 322.8 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1388, allocations: 43.91 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1389, allocations: 53.67 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1392, allocations: 88.8 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1392, allocations: 4.031 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003251/0.1395, allocations: 129.5 kB / 0.5584 GB, free: 3.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1395, allocations: 4 kB / 0.5585 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1395, allocations: 3.938 kB / 0.5585 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1395, allocations: 0 / 0.5585 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1396, allocations: 19.98 kB / 0.5585 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1397, allocations: 3.938 kB / 0.5585 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.1397, allocations: 15.98 kB / 0.5585 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1397, allocations: 4 kB / 0.5585 GB, free: 3.668 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 (7): * Single equations (assignments): 7 * 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 9.921e-05/0.1398, allocations: 124 kB / 0.5586 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.1399, allocations: 11.91 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.1403, allocations: 138.3 kB / 0.5588 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1403, allocations: 0 / 0.5588 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1403, allocations: 7.938 kB / 0.5588 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1403, allocations: 0 / 0.5588 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.1409, allocations: 422.8 kB / 0.5592 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1409, allocations: 0 / 0.5592 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.141, allocations: 19.92 kB / 0.5592 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.141, allocations: 7.938 kB / 0.5592 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.141, allocations: 4 kB / 0.5592 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.141, allocations: 0 / 0.5592 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.141, allocations: 0 / 0.5592 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.1414, allocations: 219.5 kB / 0.5594 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1414, allocations: 89.05 kB / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1415, allocations: 7.938 kB / 0.5595 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1416, allocations: 15.98 kB / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1416, allocations: 4 kB / 0.5595 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1416, allocations: 0 / 0.5595 GB, free: 2.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1417, allocations: 120.1 kB / 0.5596 GB, free: 2.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1417, allocations: 3.938 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.142, allocations: 39.92 kB / 0.5597 GB, free: 2.352 MB / 414.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 (7): * Single equations (assignments): 7 * 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.002307/0.1443, allocations: 1.149 MB / 0.5608 GB, free: 1.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.1447, allocations: 91.91 kB / 0.5609 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1447, allocations: 0 / 0.5609 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1448, allocations: 56 kB / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1452, allocations: 26.92 kB / 0.561 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1474, allocations: 1.655 MB / 0.5626 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1478, allocations: 0.7039 MB / 0.5633 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.559e-05/0.1478, allocations: 20.42 kB / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.1479, allocations: 35.41 kB / 0.5633 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1479, allocations: 4 kB / 0.5633 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.1687, allocations: 3.649 MB / 0.5669 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/8.817, allocations: 15.91 kB / 0.5669 GB, free: 11.02 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.002286559029017]