Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001754/0.001754, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002068/0.002068, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2676/0.2676, allocations: 46.95 MB / 360.9 MB, free: 4.043 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003452/0.3407, allocations: 1.982 MB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3426, allocations: 1.088 MB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.3428, allocations: 7.938 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.3432, allocations: 271.1 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.3438, allocations: 259.1 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.3453, allocations: 0.6528 MB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000516/0.3459, allocations: 366.8 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.346, allocations: 62.72 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3462, allocations: 155.4 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.3465, allocations: 223.2 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.3466, allocations: 15.94 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3467, allocations: 75.91 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3469, allocations: 99.61 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.347, allocations: 99.2 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.3474, allocations: 370.2 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3474, allocations: 0 / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3474, allocations: 3.938 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.3474, allocations: 0 / 0.5662 GB, free: 14.54 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.0008733/0.3483, allocations: 0.632 MB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3483, allocations: 8.031 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3484, allocations: 42.75 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.3485, allocations: 44.66 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3489, allocations: 280.6 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3489, allocations: 12.38 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3489, allocations: 16.31 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.3492, allocations: 133.5 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3492, allocations: 3.953 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3492, allocations: 0 / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.3493, allocations: 8 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.3495, allocations: 95.88 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.3502, allocations: 475.5 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3505, allocations: 102.5 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.3505, allocations: 48.81 kB / 0.568 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3506, allocations: 0 / 0.568 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3506, allocations: 42.5 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.3506, allocations: 0 / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001038/0.3517, allocations: 452.9 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3517, allocations: 55.41 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.3525, allocations: 0.6034 MB / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3525, allocations: 29.7 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.3527, allocations: 220.4 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.3527, allocations: 59.44 kB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.3528, allocations: 37.7 kB / 0.5694 GB, free: 10.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.353, allocations: 358.8 kB / 0.5698 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3531, allocations: 67.89 kB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3532, allocations: 66.47 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.3535, allocations: 160.7 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3535, allocations: 0 / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004022/0.3539, allocations: 239.8 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3539, allocations: 8 kB / 0.5703 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3539, allocations: 3.984 kB / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3539, allocations: 0 / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3541, allocations: 39.92 kB / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3541, allocations: 0 / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.3542, allocations: 7.984 kB / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3542, allocations: 8 kB / 0.5703 GB, free: 10.04 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.0001818/0.3544, allocations: 189.7 kB / 0.5705 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/0.3545, allocations: 47.67 kB / 0.5706 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.3551, allocations: 277.6 kB / 0.5708 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3551, allocations: 4 kB / 0.5708 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3551, allocations: 0 / 0.5708 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3551, allocations: 0 / 0.5708 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.3561, allocations: 0.6378 MB / 0.5715 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3561, allocations: 8 kB / 0.5715 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3562, allocations: 31.98 kB / 0.5715 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3562, allocations: 3.984 kB / 0.5715 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3562, allocations: 4 kB / 0.5715 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.3562, allocations: 7.875 kB / 0.5715 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3562, allocations: 0 / 0.5715 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.3567, allocations: 333.5 kB / 0.5718 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.3567, allocations: 43.69 kB / 0.5719 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3568, allocations: 8 kB / 0.5719 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3569, allocations: 15.94 kB / 0.5719 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.357, allocations: 15.97 kB / 0.5719 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.357, allocations: 4 kB / 0.5719 GB, free: 8.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005083/0.3575, allocations: 450.8 kB / 0.5724 GB, free: 7.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3575, allocations: 4 kB / 0.5724 GB, free: 7.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.3578, allocations: 47.94 kB / 0.5724 GB, free: 7.852 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.003695/0.3615, allocations: 1.528 MB / 0.5739 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.3619, allocations: 163.8 kB / 0.574 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3619, allocations: 0 / 0.574 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.362, allocations: 87.88 kB / 0.5741 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3627, allocations: 91.34 kB / 0.5742 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.3674, allocations: 3.335 MB / 0.5775 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3676, allocations: 232.8 kB / 0.5777 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.3678, allocations: 62.23 kB / 0.5778 GB, free: 2.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.368, allocations: 131.4 kB / 0.5779 GB, free: 2.484 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.368, allocations: 4 kB / 0.5779 GB, free: 2.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.4074, allocations: 8.629 MB / 0.5863 GB, free: 9.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.35, allocations: 2.656 kB / 0.5863 GB, free: 9.871 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.413179485010915]