Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001637/0.001637, 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.002352/0.002352, allocations: 214.6 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2258/0.2258, 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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 66.03 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004057/0.3394, allocations: 2.137 MB / 0.5627 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.3419, allocations: 1.423 MB / 0.5641 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.342, allocations: 7.938 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.3424, allocations: 59.5 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.3429, allocations: 219 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3443, allocations: 0.6184 MB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.3448, allocations: 358.9 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.345, allocations: 56.89 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.3452, allocations: 159.3 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.3456, allocations: 211.2 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.3456, allocations: 16 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.3458, allocations: 71.95 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.346, allocations: 159.4 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.3462, allocations: 186.5 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.3467, allocations: 443.7 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.3467, allocations: 4 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3467, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3467, allocations: 0 / 0.5666 GB, free: 14.39 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.001247/0.348, allocations: 0.7833 MB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.348, allocations: 12.03 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.198e-05/0.3481, allocations: 50.67 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.3485, allocations: 100.5 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.3493, allocations: 439.1 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3493, allocations: 12.36 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3493, allocations: 15.94 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.3496, allocations: 151.3 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3497, allocations: 4 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3497, allocations: 8 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3497, allocations: 0 / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.35, allocations: 127.8 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.3511, allocations: 0.6987 MB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.3514, allocations: 125.2 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3516, allocations: 65.73 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3516, allocations: 4 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3516, allocations: 42.48 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3516, allocations: 0 / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002145/0.3538, allocations: 0.7685 MB / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3538, allocations: 81.05 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.355, allocations: 0.9299 MB / 0.5709 GB, free: 9.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.355, allocations: 33.7 kB / 0.5709 GB, free: 9.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3552, allocations: 280.3 kB / 0.5712 GB, free: 9.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/0.3553, allocations: 75.38 kB / 0.5713 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.3554, allocations: 37.7 kB / 0.5713 GB, free: 9.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3555, allocations: 317.9 kB / 0.5716 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3558, allocations: 103.9 kB / 0.5717 GB, free: 8.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.3561, allocations: 135.9 kB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.3567, allocations: 258.4 kB / 0.5721 GB, free: 8.543 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3567, allocations: 224 / 0.5721 GB, free: 8.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007721/0.3575, allocations: 345 kB / 0.5724 GB, free: 8.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3575, allocations: 7.938 kB / 0.5724 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3575, allocations: 0 / 0.5724 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3575, allocations: 8 kB / 0.5724 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.3578, allocations: 51.95 kB / 0.5725 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3578, allocations: 4 kB / 0.5725 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.358, allocations: 23.97 kB / 0.5725 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.358, allocations: 8 kB / 0.5725 GB, free: 8.098 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.0002421/0.3583, allocations: 225.6 kB / 0.5727 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3584, allocations: 63.58 kB / 0.5728 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.3593, allocations: 406.7 kB / 0.5732 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3593, allocations: 4 kB / 0.5732 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3593, allocations: 0 / 0.5732 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3593, allocations: 3.984 kB / 0.5732 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.361, allocations: 0.9415 MB / 0.5741 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.361, allocations: 0 / 0.5741 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3612, allocations: 55.89 kB / 0.5741 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3612, allocations: 4 kB / 0.5742 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3613, allocations: 7.984 kB / 0.5742 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3613, allocations: 7.938 kB / 0.5742 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3613, allocations: 0 / 0.5742 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.3621, allocations: 0.506 MB / 0.5747 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.3623, allocations: 83.55 kB / 0.5747 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.3624, allocations: 3.984 kB / 0.5747 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.3626, allocations: 23.92 kB / 0.5748 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.3627, allocations: 23.95 kB / 0.5748 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3627, allocations: 4 kB / 0.5748 GB, free: 5.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008467/0.3635, allocations: 0.6864 MB / 0.5755 GB, free: 4.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3635, allocations: 0 / 0.5755 GB, free: 4.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.3639, allocations: 64 kB / 0.5755 GB, free: 4.922 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.002644/0.3666, allocations: 1.367 MB / 0.5769 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.3673, allocations: 255.7 kB / 0.5771 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3673, allocations: 0 / 0.5771 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.3676, allocations: 140.2 kB / 0.5772 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.3682, allocations: 82.72 kB / 0.5773 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007823/0.376, allocations: 5.506 MB / 0.5827 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/0.3767, allocations: 0.8889 MB / 0.5836 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002927/0.377, allocations: 115.2 kB / 0.5837 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3773, allocations: 187.4 kB / 0.5838 GB, free: 12.41 MB / 430.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3773, allocations: 0 / 0.5838 GB, free: 12.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.4177, allocations: 10.99 MB / 0.5946 GB, free: 1.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 0 / 0.5946 GB, free: 1.492 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.469880220945925]