Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001313/0.001313, 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.001471/0.001471, allocations: 212.4 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2305/0.2305, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 71.88 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3191, allocations: 66.04 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003749/0.3229, allocations: 1.971 MB / 0.5625 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.3251, allocations: 0.9907 MB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3252, allocations: 0 / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.3258, allocations: 259.1 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005986/0.3264, allocations: 263.1 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3275, allocations: 497.3 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.3279, allocations: 338.8 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3281, allocations: 50.72 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3283, allocations: 147.3 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3285, allocations: 219.2 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3286, allocations: 12 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3287, allocations: 75.91 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.3289, allocations: 99.61 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.329, allocations: 91.16 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.3294, allocations: 342.2 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3294, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3295, allocations: 8 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3295, allocations: 0 / 0.5658 GB, free: 14.95 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.0008619/0.3303, allocations: 0.6165 MB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3304, allocations: 12.03 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.3304, allocations: 46.73 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.3305, allocations: 44.61 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3309, allocations: 276.6 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3309, allocations: 8.375 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3309, allocations: 12.38 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3311, allocations: 109.6 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3312, allocations: 4 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3312, allocations: 4 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3312, allocations: 4 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3313, allocations: 71.83 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.332, allocations: 455.5 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3322, allocations: 86.53 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.3e-05/0.3323, allocations: 33.06 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3323, allocations: 7.875 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3323, allocations: 46.5 kB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3323, allocations: 0 / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009114/0.3333, allocations: 392.4 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3333, allocations: 51.41 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.334, allocations: 0.5877 MB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.334, allocations: 25.7 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3342, allocations: 216.4 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.3342, allocations: 63.47 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.3343, allocations: 37.7 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3345, allocations: 358.7 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3346, allocations: 47.97 kB / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3347, allocations: 50.31 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3349, allocations: 128.7 kB / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3349, allocations: 0 / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003638/0.3353, allocations: 207.9 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3353, allocations: 4 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3353, allocations: 0 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3353, allocations: 3.938 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3355, allocations: 35.97 kB / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3355, allocations: 0 / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.3355, allocations: 11.94 kB / 0.5697 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3356, allocations: 8 kB / 0.5697 GB, free: 10.74 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.0001784/0.3357, allocations: 173.7 kB / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.3358, allocations: 47.7 kB / 0.5699 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.3363, allocations: 249.5 kB / 0.5702 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3363, allocations: 7.922 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3363, allocations: 0 / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3363, allocations: 0 / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.3371, allocations: 0.5856 MB / 0.5707 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3371, allocations: 7.984 kB / 0.5707 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3372, allocations: 35.98 kB / 0.5708 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3372, allocations: 0 / 0.5708 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3373, allocations: 0 / 0.5708 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.3373, allocations: 7.938 kB / 0.5708 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3373, allocations: 0 / 0.5708 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.3377, allocations: 299.2 kB / 0.5711 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.3378, allocations: 43.69 kB / 0.5711 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.3378, allocations: 8 kB / 0.5711 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3379, allocations: 7.938 kB / 0.5711 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.3379, allocations: 15.97 kB / 0.5711 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.338, allocations: 11.94 kB / 0.5711 GB, free: 9.172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004825/0.3384, allocations: 443.1 kB / 0.5716 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3384, allocations: 0 / 0.5716 GB, free: 8.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.3388, allocations: 47.94 kB / 0.5716 GB, free: 8.695 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.003628/0.3424, allocations: 1.491 MB / 0.5731 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.3427, allocations: 131.8 kB / 0.5732 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3427, allocations: 3.938 kB / 0.5732 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3428, allocations: 67.95 kB / 0.5733 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.3434, allocations: 92.56 kB / 0.5734 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.3475, allocations: 3.152 MB / 0.5764 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.3477, allocations: 212.2 kB / 0.5766 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.3479, allocations: 58.23 kB / 0.5767 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3481, allocations: 135.4 kB / 0.5768 GB, free: 3.613 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3481, allocations: 0 / 0.5768 GB, free: 3.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3826, allocations: 8.328 MB / 0.585 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.51, allocations: 2.5 kB / 0.585 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.54191670101136]