Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001276/0.001276, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001483/0.001483, allocations: 211.6 kB / 23.73 MB, free: 4.387 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.231/0.231, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.88 kB / 0.4961 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004597/0.3607, allocations: 1.979 MB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.3632, allocations: 1.092 MB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3633, allocations: 7.875 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.3638, allocations: 267.1 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.3643, allocations: 263.1 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3658, allocations: 0.6575 MB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.3664, allocations: 362.8 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3666, allocations: 54.7 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.3668, allocations: 159.3 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.3671, allocations: 227.2 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.3671, allocations: 12 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.3673, allocations: 103.9 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3675, allocations: 103.6 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.3676, allocations: 95.22 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.368, allocations: 378.1 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.368, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.368, allocations: 4 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.368, allocations: 0 / 0.5662 GB, free: 14.47 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.0008762/0.3689, allocations: 0.6398 MB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.369, allocations: 12.03 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.369, allocations: 42.73 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.3691, allocations: 44.66 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.3695, allocations: 288.5 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3695, allocations: 4.375 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.3696, allocations: 12.38 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.3698, allocations: 125.6 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3698, allocations: 11.89 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3698, allocations: 4 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3698, allocations: 4 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.37, allocations: 95.86 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.3707, allocations: 471.5 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3709, allocations: 110.5 kB / 0.568 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.371, allocations: 32.84 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3711, allocations: 4 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3711, allocations: 46.47 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3711, allocations: 0 / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001038/0.3721, allocations: 456.5 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3722, allocations: 55.41 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.3729, allocations: 0.6034 MB / 0.5691 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3729, allocations: 29.7 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.3731, allocations: 212.4 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.3732, allocations: 67.42 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.3732, allocations: 37.72 kB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3734, allocations: 358.8 kB / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3735, allocations: 67.95 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3737, allocations: 66.77 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.374, allocations: 160.7 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.374, allocations: 0 / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004152/0.3744, allocations: 235.6 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3744, allocations: 8 kB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3744, allocations: 0 / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3744, allocations: 4 kB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3746, allocations: 35.91 kB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3746, allocations: 4 kB / 0.5704 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.3747, allocations: 8 kB / 0.5704 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3747, allocations: 8 kB / 0.5704 GB, free: 9.973 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.0001891/0.3749, allocations: 181.7 kB / 0.5706 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.3749, allocations: 47.67 kB / 0.5706 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005394/0.3755, allocations: 285.6 kB / 0.5709 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3755, allocations: 4 kB / 0.5709 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3755, allocations: 0 / 0.5709 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3755, allocations: 0 / 0.5709 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.3765, allocations: 0.6417 MB / 0.5715 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3765, allocations: 0 / 0.5715 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3766, allocations: 35.97 kB / 0.5715 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3766, allocations: 4 kB / 0.5715 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3766, allocations: 8 kB / 0.5716 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3766, allocations: 3.938 kB / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3766, allocations: 0 / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.3771, allocations: 329.5 kB / 0.5719 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.3771, allocations: 51.69 kB / 0.5719 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.3772, allocations: 4 kB / 0.5719 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3773, allocations: 11.94 kB / 0.5719 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3773, allocations: 11.97 kB / 0.5719 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3773, allocations: 8 kB / 0.572 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005196/0.3778, allocations: 450.8 kB / 0.5724 GB, free: 7.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3778, allocations: 4 kB / 0.5724 GB, free: 7.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3782, allocations: 47.94 kB / 0.5724 GB, free: 7.789 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.003693/0.3819, allocations: 1.539 MB / 0.5739 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.3823, allocations: 167.7 kB / 0.5741 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3823, allocations: 0 / 0.5741 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3824, allocations: 83.89 kB / 0.5742 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.383, allocations: 89.11 kB / 0.5743 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.3875, allocations: 3.331 MB / 0.5775 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3878, allocations: 228.8 kB / 0.5777 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.3879, allocations: 66.23 kB / 0.5778 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.3881, allocations: 139.4 kB / 0.5779 GB, free: 2.418 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3881, allocations: 0 / 0.5779 GB, free: 2.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03903/0.4272, allocations: 8.568 MB / 0.5863 GB, free: 9.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.62, allocations: 10.53 kB / 0.5863 GB, free: 9.867 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 14.712878973223269]