Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001805/0.001805, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002264/0.002264, allocations: 212 kB / 23.74 MB, free: 4.656 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2219/0.2219, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 63.91 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3575, allocations: 66.03 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003543/0.3611, allocations: 2.074 MB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.363, allocations: 1.037 MB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.3631, allocations: 4 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.3636, allocations: 251.2 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.364, allocations: 267 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3651, allocations: 485.8 kB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.3655, allocations: 334.9 kB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3657, allocations: 66.64 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.3659, allocations: 151.4 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.3662, allocations: 219.2 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.3662, allocations: 15.94 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.3664, allocations: 99.91 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3665, allocations: 99.59 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3666, allocations: 123 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.3671, allocations: 366.2 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3671, allocations: 0 / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3671, allocations: 3.984 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3671, allocations: 0 / 0.5661 GB, free: 14.92 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008322/0.3679, allocations: 0.6282 MB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3679, allocations: 8.031 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.368, allocations: 46.67 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.3681, allocations: 48.61 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3684, allocations: 264.7 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3684, allocations: 16.31 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3685, allocations: 12.38 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3687, allocations: 113.5 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3687, allocations: 4 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3687, allocations: 4 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3687, allocations: 0 / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3689, allocations: 75.88 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.3696, allocations: 487.4 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3698, allocations: 82.48 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.3698, allocations: 32.84 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3699, allocations: 4 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3699, allocations: 38.5 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3699, allocations: 0 / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009353/0.3708, allocations: 404.6 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3709, allocations: 51.41 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.3716, allocations: 0.5877 MB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3716, allocations: 29.7 kB / 0.5689 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3718, allocations: 212.4 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.3718, allocations: 59.47 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.3719, allocations: 37.72 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.372, allocations: 354.8 kB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3722, allocations: 51.97 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3723, allocations: 47.92 kB / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.3725, allocations: 127.1 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3725, allocations: 0 / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003496/0.3729, allocations: 209.2 kB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3729, allocations: 11.98 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3729, allocations: 0 / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3729, allocations: 0 / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.373, allocations: 35.92 kB / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.373, allocations: 0 / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.3731, allocations: 11.98 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3731, allocations: 4 kB / 0.57 GB, free: 10.68 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 (17): * Single equations (assignments): 17 * 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.0001727/0.3733, allocations: 181.8 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.3734, allocations: 43.72 kB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.3738, allocations: 243.8 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3738, allocations: 0 / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3739, allocations: 4 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3739, allocations: 0 / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/0.3747, allocations: 0.6183 MB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3747, allocations: 0 / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3748, allocations: 31.98 kB / 0.5711 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3748, allocations: 0 / 0.5711 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3748, allocations: 4 kB / 0.5711 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3748, allocations: 3.938 kB / 0.5711 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3748, allocations: 3.984 kB / 0.5711 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3752, allocations: 317.7 kB / 0.5714 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.3753, allocations: 43.7 kB / 0.5715 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3753, allocations: 4 kB / 0.5715 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3754, allocations: 11.92 kB / 0.5715 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3755, allocations: 15.98 kB / 0.5715 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3755, allocations: 4 kB / 0.5715 GB, free: 9.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004776/0.376, allocations: 439.1 kB / 0.5719 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.376, allocations: 0 / 0.5719 GB, free: 8.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3763, allocations: 51.94 kB / 0.572 GB, free: 8.602 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 (17): * Single equations (assignments): 17 * 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.003323/0.3796, allocations: 1.432 MB / 0.5734 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.3799, allocations: 127.8 kB / 0.5735 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3799, allocations: 0 / 0.5735 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.38, allocations: 74.55 kB / 0.5735 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.3806, allocations: 84.59 kB / 0.5736 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.3846, allocations: 3.163 MB / 0.5767 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3851, allocations: 0.8181 MB / 0.5775 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3852, allocations: 58.23 kB / 0.5776 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.3854, allocations: 135.4 kB / 0.5777 GB, free: 2.914 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3854, allocations: 0 / 0.5777 GB, free: 2.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.4221, allocations: 7.873 MB / 0.5854 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 3.984 kB / 0.5854 GB, free: 11.09 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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: 15.05802277312614]