Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001893/0.001893, 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.002072/0.002072, allocations: 214.7 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.632/1.632, allocations: 230.6 MB / 258.3 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.2267/0.2267, allocations: 46.95 MB / 361.7 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 66.02 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00347/0.3365, allocations: 1.65 MB / 0.563 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3376, allocations: 0.7633 MB / 0.5637 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.3377, allocations: 4 kB / 0.5637 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.3379, allocations: 27.84 kB / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.3382, allocations: 43.83 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.43e-06/0.3382, allocations: 0 / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3384, allocations: 31.89 kB / 0.5638 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.3384, allocations: 5.828 kB / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.3384, allocations: 11.94 kB / 0.5638 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.3385, allocations: 19.91 kB / 0.5639 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3385, allocations: 0 / 0.5639 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.3386, allocations: 8 kB / 0.5639 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.3386, allocations: 20.89 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.3387, allocations: 11.88 kB / 0.5639 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3388, allocations: 79.55 kB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3388, allocations: 0 / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3388, allocations: 0 / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3388, allocations: 0 / 0.564 GB, free: 1.551 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004536/0.3393, allocations: 294 kB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3393, allocations: 8.031 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.3394, allocations: 4.188 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.3394, allocations: 42.73 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3394, allocations: 8.891 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3396, allocations: 122.3 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3396, allocations: 384 / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3396, allocations: 4.375 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3398, allocations: 127.1 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3398, allocations: 3.984 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3399, allocations: 4 kB / 0.5646 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.3399, allocations: 23.98 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.34, allocations: 39.86 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.3408, allocations: 0.8547 MB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3409, allocations: 177 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.3409, allocations: 80.14 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.341, allocations: 79.28 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.341, allocations: 105.8 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.341, allocations: 0 / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.908e-05/0.3411, allocations: 37.61 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.3412, allocations: 134.6 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3414, allocations: 182.1 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3414, allocations: 25.7 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3416, allocations: 159.5 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.3416, allocations: 8 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.3416, allocations: 41.66 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3418, allocations: 318.8 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.3418, allocations: 31.98 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.342, allocations: 159.8 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.3423, allocations: 208.8 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3423, allocations: 0 / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000325/0.3426, allocations: 197.5 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3426, allocations: 11.98 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3426, allocations: 4 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3426, allocations: 8 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3428, allocations: 43.92 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3428, allocations: 7.938 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.3429, allocations: 19.83 kB / 0.5674 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3429, allocations: 16 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001416/0.343, allocations: 217.1 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.3431, allocations: 112.9 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.3432, allocations: 120.5 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.212e-05/0.3433, allocations: 184.3 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-05/0.3433, allocations: 184.3 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.3434, allocations: 180.3 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3437, allocations: 400.2 kB / 0.5688 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/0.3437, allocations: 108.9 kB / 0.5689 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.3438, allocations: 101 kB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.064e-05/0.3439, allocations: 188.2 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.3439, allocations: 180.2 kB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-05/0.344, allocations: 188.2 kB / 0.5695 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.998e-05/0.3441, allocations: 184.2 kB / 0.5697 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3443, allocations: 319.6 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.3444, allocations: 108.9 kB / 0.5701 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3445, allocations: 180.3 kB / 0.5702 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.3446, allocations: 104.9 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.3447, allocations: 180.3 kB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.3447, allocations: 104.9 kB / 0.5706 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3449, allocations: 132.1 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3451, allocations: 12 kB / 0.5707 GB, free: 10.04 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 (0): * Single equations (assignments): 0 * 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.001121/0.3463, allocations: 0.9285 MB / 0.5717 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.3464, allocations: 71.78 kB / 0.5717 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3464, allocations: 0 / 0.5717 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3464, allocations: 1.25 kB / 0.5717 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.347, allocations: 466.4 kB / 0.5722 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.349, allocations: 1.898 MB / 0.574 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.675e-05/0.3491, allocations: 83.52 kB / 0.5741 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.3493, allocations: 53.02 kB / 0.5742 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.3493, allocations: 23.42 kB / 0.5742 GB, free: 6.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3493, allocations: 0 / 0.5742 GB, free: 6.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.374, allocations: 2.34 MB / 0.5765 GB, free: 4.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.08, allocations: 8.062 kB / 0.5765 GB, free: 4.059 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.368770432076417]