Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001681/0.001681, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002178/0.002178, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2303/0.2303, allocations: 44.94 MB / 358.8 MB, free: 6.078 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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",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.002112/0.002112, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3418, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003494/0.3453, allocations: 2.016 MB / 0.5589 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.3475, allocations: 1.248 MB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3476, allocations: 7.938 kB / 0.5602 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.3479, allocations: 51.56 kB / 0.5602 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.3484, allocations: 215 kB / 0.5604 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3495, allocations: 462 kB / 0.5609 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.3499, allocations: 334.9 kB / 0.5612 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3501, allocations: 44.89 kB / 0.5612 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.3503, allocations: 151.4 kB / 0.5614 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3506, allocations: 207.2 kB / 0.5616 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.3507, allocations: 16 kB / 0.5616 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.3508, allocations: 67.97 kB / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.351, allocations: 147.4 kB / 0.5618 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.3512, allocations: 142.9 kB / 0.5619 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.3517, allocations: 435.8 kB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3517, allocations: 0 / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3517, allocations: 0 / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3517, allocations: 0 / 0.5623 GB, free: 2.039 MB / 398.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.001374/0.3531, allocations: 0.7738 MB / 0.5631 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3531, allocations: 12.03 kB / 0.5631 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.259e-05/0.3532, allocations: 46.67 kB / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.3537, allocations: 104.4 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.3546, allocations: 423.2 kB / 0.5637 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3546, allocations: 8.375 kB / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.3546, allocations: 19.94 kB / 0.5637 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.355, allocations: 150.7 kB / 0.5638 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.355, allocations: 3.938 kB / 0.5638 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.355, allocations: 4 kB / 0.5638 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.355, allocations: 4 kB / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.3553, allocations: 95.92 kB / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3563, allocations: 0.6363 MB / 0.5646 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.3566, allocations: 113.2 kB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3568, allocations: 57.81 kB / 0.5647 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3568, allocations: 0 / 0.5647 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3569, allocations: 42.48 kB / 0.5648 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.3569, allocations: 0 / 0.5648 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002044/0.3589, allocations: 0.7022 MB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.359, allocations: 77.11 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3601, allocations: 0.9259 MB / 0.5664 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3601, allocations: 29.7 kB / 0.5664 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.3604, allocations: 276.4 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.3605, allocations: 75.31 kB / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.3605, allocations: 41.69 kB / 0.5668 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3607, allocations: 317.9 kB / 0.5671 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.361, allocations: 92.14 kB / 0.5672 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.3612, allocations: 114.3 kB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.3618, allocations: 213.6 kB / 0.5675 GB, free: 12.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3618, allocations: 0 / 0.5675 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007128/0.3625, allocations: 301.1 kB / 0.5678 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3625, allocations: 8 kB / 0.5678 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3625, allocations: 4 kB / 0.5678 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3625, allocations: 3.984 kB / 0.5678 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.3629, allocations: 59.89 kB / 0.5679 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3629, allocations: 0 / 0.5679 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3631, allocations: 19.98 kB / 0.5679 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.3631, allocations: 11.98 kB / 0.5679 GB, free: 12.09 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 (20): * Single equations (assignments): 20 * 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.0002517/0.3633, allocations: 213.7 kB / 0.5681 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3635, allocations: 63.58 kB / 0.5682 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.3647, allocations: 362.7 kB / 0.5685 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3647, allocations: 0 / 0.5685 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.3647, allocations: 7.984 kB / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3647, allocations: 0 / 0.5685 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.367, allocations: 0.8323 MB / 0.5693 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.367, allocations: 0 / 0.5693 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3674, allocations: 55.95 kB / 0.5694 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3674, allocations: 0 / 0.5694 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3675, allocations: 4 kB / 0.5694 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.3675, allocations: 11.92 kB / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3675, allocations: 0 / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3687, allocations: 484.6 kB / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.3689, allocations: 79.55 kB / 0.57 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/0.369, allocations: 4 kB / 0.57 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.3695, allocations: 27.92 kB / 0.57 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3696, allocations: 23.95 kB / 0.57 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.3696, allocations: 8 kB / 0.57 GB, free: 9.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.371, allocations: 0.6786 MB / 0.5707 GB, free: 9.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.371, allocations: 0 / 0.5707 GB, free: 9.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006785/0.3717, allocations: 59.94 kB / 0.5707 GB, free: 9.125 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 (20): * Single equations (assignments): 20 * 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.003512/0.3752, allocations: 1.352 MB / 0.5721 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.3761, allocations: 219.7 kB / 0.5723 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3761, allocations: 0 / 0.5723 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.3765, allocations: 112.4 kB / 0.5724 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/0.3775, allocations: 78.05 kB / 0.5724 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.3893, allocations: 5.299 MB / 0.5776 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3897, allocations: 279.2 kB / 0.5779 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.3901, allocations: 83.22 kB / 0.578 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.3905, allocations: 187.4 kB / 0.5781 GB, free: 1.578 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3905, allocations: 0 / 0.5781 GB, free: 1.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05282/0.4433, allocations: 11.26 MB / 0.5891 GB, free: 6.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.99, allocations: 7.438 kB / 0.5891 GB, free: 6.387 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.385036538355052]