Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001718/0.001718, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001665/0.001665, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2283/0.2283, allocations: 46.97 MB / 361.7 MB, free: 4.121 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.91 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3162, allocations: 66.03 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003827/0.32, allocations: 1.661 MB / 0.563 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3214, allocations: 0.566 MB / 0.5636 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.3214, allocations: 0 / 0.5636 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.3217, allocations: 59.73 kB / 0.5636 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.3221, allocations: 103.6 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.3227, allocations: 186.8 kB / 0.5639 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.3229, allocations: 95.73 kB / 0.564 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.323, allocations: 10.2 kB / 0.564 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.3231, allocations: 43.84 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3232, allocations: 55.81 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3233, allocations: 4 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3234, allocations: 59.86 kB / 0.5641 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.3235, allocations: 23.91 kB / 0.5642 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.3235, allocations: 31.8 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3238, allocations: 111.5 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3238, allocations: 0 / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3238, allocations: 7.938 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.3238, allocations: 3.938 kB / 0.5643 GB, free: 1.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005732/0.3244, allocations: 349.6 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3244, allocations: 12.03 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3244, allocations: 4.125 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.3244, allocations: 38.75 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.3245, allocations: 12.84 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.3247, allocations: 143 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3247, allocations: 8.375 kB / 0.5649 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3247, allocations: 4.125 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3249, allocations: 69.59 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3249, allocations: 7.953 kB / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.325, allocations: 8 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.325, allocations: 0 / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3251, allocations: 35.97 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.3256, allocations: 287.8 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3258, allocations: 58.58 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.3259, allocations: 32.97 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3259, allocations: 3.984 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.326, allocations: 30.56 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.326, allocations: 0 / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001603/0.3276, allocations: 437.2 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.3277, allocations: 55.34 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3279, allocations: 200.2 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3279, allocations: 29.69 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.328, allocations: 104.1 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.328, allocations: 39.64 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3281, allocations: 25.7 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3282, allocations: 326.8 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3284, allocations: 51.95 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.3285, allocations: 51.97 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3288, allocations: 128.9 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3288, allocations: 4 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.3291, allocations: 169.4 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3291, allocations: 8 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3291, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3291, allocations: 11.88 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3293, allocations: 27.97 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3293, allocations: 0 / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.3293, allocations: 12 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3294, allocations: 7.984 kB / 0.567 GB, free: 14.3 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 (11): * Single equations (assignments): 11 * 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.0001082/0.3295, allocations: 121.8 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.3295, allocations: 15.91 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.33, allocations: 199.2 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.33, allocations: 0 / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.33, allocations: 4 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.33, allocations: 0 / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.3308, allocations: 471 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3308, allocations: 0 / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3309, allocations: 36.03 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3309, allocations: 0 / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3309, allocations: 0 / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3309, allocations: 4 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3309, allocations: 0 / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.3313, allocations: 281 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.3313, allocations: 19.94 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3313, allocations: 4 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3314, allocations: 11.98 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3315, allocations: 11.98 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.3315, allocations: 4 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3316, allocations: 148.9 kB / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3316, allocations: 0 / 0.5683 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3319, allocations: 27.94 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002517/0.3344, allocations: 1.195 MB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.3348, allocations: 135.8 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3348, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.335, allocations: 63.89 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3353, allocations: 19.98 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.3386, allocations: 1.93 MB / 0.5715 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3387, allocations: 104.7 kB / 0.5716 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3389, allocations: 36.31 kB / 0.5717 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.339, allocations: 39.42 kB / 0.5717 GB, free: 9.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.339, allocations: 0 / 0.5717 GB, free: 9.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.3707, allocations: 3.778 MB / 0.5754 GB, free: 5.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.8, allocations: 8 kB / 0.5754 GB, free: 5.707 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.966477961977944]