Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001633/0.001633, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001908/0.001908, allocations: 210.9 kB / 23.73 MB, free: 4.523 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2434/0.2434, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002987/0.3431, allocations: 1.657 MB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3441, allocations: 0.5661 MB / 0.5628 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.3442, allocations: 4 kB / 0.5628 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.3448, allocations: 455.1 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.3452, allocations: 299.2 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.3457, allocations: 171.3 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3459, allocations: 187.5 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.346, allocations: 18.06 kB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3461, allocations: 115.7 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3464, allocations: 243.5 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3464, allocations: 8 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3465, allocations: 55.92 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3467, allocations: 87.67 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.3467, allocations: 75.17 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.3471, allocations: 294.5 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3471, allocations: 0 / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3471, allocations: 4 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3471, allocations: 0 / 0.5647 GB, free: 15.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008238/0.348, allocations: 0.5892 MB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.348, allocations: 8.031 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3481, allocations: 42.69 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.3481, allocations: 48.66 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3484, allocations: 246.8 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3484, allocations: 4.359 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3485, allocations: 8.375 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3486, allocations: 61.61 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3486, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3487, allocations: 4 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3487, allocations: 3.984 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3488, allocations: 35.92 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.3494, allocations: 379.8 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3495, allocations: 46.59 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.3496, allocations: 16.94 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3496, allocations: 0 / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3496, allocations: 42.5 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3496, allocations: 0 / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001062/0.3507, allocations: 328.5 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3508, allocations: 55.34 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.3517, allocations: 0.8738 MB / 0.5674 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3517, allocations: 29.7 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3519, allocations: 224.1 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3519, allocations: 31.73 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.352, allocations: 25.66 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3522, allocations: 366.7 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.3522, allocations: 31.98 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.3523, allocations: 31.97 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3525, allocations: 76.81 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3525, allocations: 0 / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003266/0.3528, allocations: 145.6 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3528, allocations: 7.984 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3528, allocations: 80 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3529, allocations: 8 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.353, allocations: 23.86 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.353, allocations: 3.984 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.353, allocations: 8 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3531, allocations: 4 kB / 0.5684 GB, free: 12.03 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 (8): * Single equations (assignments): 8 * 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.0002113/0.3533, allocations: 213.8 kB / 0.5686 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.3533, allocations: 43.72 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.3537, allocations: 177.5 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3537, allocations: 7.938 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3537, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3537, allocations: 3.938 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.3544, allocations: 498.2 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3544, allocations: 4 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.3545, allocations: 16.41 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3545, allocations: 0 / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3545, allocations: 8.031 kB / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3545, allocations: 0 / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3545, allocations: 0 / 0.5693 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.3548, allocations: 259.9 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.3549, allocations: 47.66 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.3549, allocations: 4 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.355, allocations: 7.984 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.3551, allocations: 0 / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3551, allocations: 8 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006355/0.3557, allocations: 0.6628 MB / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3557, allocations: 0 / 0.5703 GB, free: 9.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.356, allocations: 27.98 kB / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002252/0.3582, allocations: 1.174 MB / 0.5714 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3585, allocations: 79.92 kB / 0.5715 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3585, allocations: 0 / 0.5715 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.493e-05/0.3586, allocations: 39.92 kB / 0.5716 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.359, allocations: 22.3 kB / 0.5716 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.3629, allocations: 3.407 MB / 0.5749 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3631, allocations: 224.1 kB / 0.5751 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.3632, allocations: 28.72 kB / 0.5752 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3633, allocations: 115.4 kB / 0.5753 GB, free: 4.965 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3633, allocations: 0 / 0.5753 GB, free: 4.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.3969, allocations: 7.03 MB / 0.5821 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.36, allocations: 5.547 kB / 0.5821 GB, free: 13.98 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 14.357587425998645]