Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001525/0.001525, 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.001504/0.001504, allocations: 207.7 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2441/0.2441, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002962/0.002962, allocations: 67.89 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3755, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00379/0.3793, allocations: 1.96 MB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3818, allocations: 1.295 MB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.3819, allocations: 7.938 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3822, allocations: 63.48 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.3827, allocations: 211.2 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3842, allocations: 0.61 MB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.3848, allocations: 331 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.385, allocations: 52.89 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.3853, allocations: 143.4 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.3856, allocations: 207.2 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.3857, allocations: 16 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3859, allocations: 63.97 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.386, allocations: 151.5 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.3862, allocations: 130.8 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.3867, allocations: 420 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3868, allocations: 0 / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3868, allocations: 4 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3868, allocations: 3.938 kB / 0.5661 GB, free: 14.57 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001242/0.388, allocations: 0.7523 MB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3881, allocations: 12.03 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.391e-05/0.3881, allocations: 38.73 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.3884, allocations: 80.5 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/0.3893, allocations: 427.2 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3893, allocations: 8.375 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.3894, allocations: 19.94 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.3897, allocations: 144.9 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3898, allocations: 3.984 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.3898, allocations: 8 kB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3898, allocations: 0 / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.39, allocations: 91.88 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3912, allocations: 0.6479 MB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.3914, allocations: 121.2 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3915, allocations: 41.81 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.3916, allocations: 7.938 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3916, allocations: 34.5 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.3916, allocations: 4 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001628/0.3932, allocations: 0.5624 MB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.3933, allocations: 85.05 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3945, allocations: 0.9338 MB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3945, allocations: 25.7 kB / 0.57 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.3948, allocations: 268.3 kB / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.3948, allocations: 63.47 kB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.3949, allocations: 33.7 kB / 0.5704 GB, free: 9.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3951, allocations: 325.9 kB / 0.5707 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3952, allocations: 63.95 kB / 0.5708 GB, free: 9.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3954, allocations: 80.48 kB / 0.5708 GB, free: 9.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.3957, allocations: 162 kB / 0.571 GB, free: 9.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3958, allocations: 7.938 kB / 0.571 GB, free: 9.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005178/0.3963, allocations: 245.2 kB / 0.5712 GB, free: 9.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3963, allocations: 4.219 kB / 0.5712 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3963, allocations: 0 / 0.5712 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3963, allocations: 7.938 kB / 0.5712 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.3965, allocations: 43.91 kB / 0.5713 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3966, allocations: 3.984 kB / 0.5713 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3967, allocations: 8 kB / 0.5713 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3967, allocations: 7.984 kB / 0.5713 GB, free: 9.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002359/0.397, allocations: 221.7 kB / 0.5715 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3971, allocations: 59.58 kB / 0.5716 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.3977, allocations: 290.8 kB / 0.5718 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3977, allocations: 4 kB / 0.5719 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3977, allocations: 0 / 0.5719 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3977, allocations: 0 / 0.5719 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.399, allocations: 0.7659 MB / 0.5726 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.399, allocations: 0 / 0.5726 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3992, allocations: 35.97 kB / 0.5726 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3992, allocations: 0 / 0.5726 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3992, allocations: 8 kB / 0.5726 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.3992, allocations: 3.938 kB / 0.5726 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3992, allocations: 4 kB / 0.5726 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.3998, allocations: 422.2 kB / 0.5731 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.4, allocations: 79.58 kB / 0.5731 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4, allocations: 8 kB / 0.5731 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.4002, allocations: 19.92 kB / 0.5732 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.4003, allocations: 11.97 kB / 0.5732 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4003, allocations: 11.98 kB / 0.5732 GB, free: 7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008788/0.4012, allocations: 0.6786 MB / 0.5738 GB, free: 6.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4012, allocations: 4 kB / 0.5738 GB, free: 6.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.4016, allocations: 55.94 kB / 0.5739 GB, free: 6.27 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 (16): * Single equations (assignments): 16 * 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.002488/0.404, allocations: 1.28 MB / 0.5751 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005156/0.4046, allocations: 163.8 kB / 0.5753 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4046, allocations: 0 / 0.5753 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.4048, allocations: 79.89 kB / 0.5754 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.4054, allocations: 82.69 kB / 0.5755 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.4124, allocations: 5.196 MB / 0.5805 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.4127, allocations: 278.7 kB / 0.5808 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000235/0.4129, allocations: 91.22 kB / 0.5809 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.4133, allocations: 179.3 kB / 0.5811 GB, free: 14.98 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4133, allocations: 4 kB / 0.5811 GB, free: 14.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.454, allocations: 10.97 MB / 0.5918 GB, free: 4.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.45, allocations: 4.062 kB / 0.5918 GB, free: 4.062 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.548746663000202]