Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001842/0.001842, allocations: 115.8 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.001849/0.001849, allocations: 216.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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2291/0.2291, allocations: 46.94 MB / 360.9 MB, free: 4.254 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.89 kB / 0.4962 GB, free: 8.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 66.03 MB / 0.5606 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003073/0.3537, allocations: 2.076 MB / 0.5627 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3555, allocations: 1.149 MB / 0.5638 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3556, allocations: 0 / 0.5638 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.3561, allocations: 265.8 kB / 0.5641 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.3566, allocations: 263.4 kB / 0.5643 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3579, allocations: 0.6554 MB / 0.5649 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.3583, allocations: 363.5 kB / 0.5653 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3585, allocations: 59 kB / 0.5653 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3587, allocations: 153.9 kB / 0.5655 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.3589, allocations: 236.3 kB / 0.5657 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.359, allocations: 11.94 kB / 0.5657 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3592, allocations: 106 kB / 0.5658 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3593, allocations: 106 kB / 0.5659 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.3594, allocations: 135.8 kB / 0.5661 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.3598, allocations: 376 kB / 0.5664 GB, free: 30.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3598, allocations: 2.906 kB / 0.5664 GB, free: 30.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3598, allocations: 0 / 0.5664 GB, free: 30.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.3598, allocations: 0 / 0.5664 GB, free: 30.24 MB / 446.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.0006819/0.3605, allocations: 0.6373 MB / 0.567 GB, free: 29.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3605, allocations: 9.875 kB / 0.5671 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.3605, allocations: 44.92 kB / 0.5671 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.3606, allocations: 47.52 kB / 0.5671 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.361, allocations: 280.6 kB / 0.5674 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.361, allocations: 7.625 kB / 0.5674 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.361, allocations: 18.11 kB / 0.5674 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3612, allocations: 128.5 kB / 0.5676 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3613, allocations: 3.375 kB / 0.5676 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3613, allocations: 7.156 kB / 0.5676 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3613, allocations: 0.8438 kB / 0.5676 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3615, allocations: 96.61 kB / 0.5677 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/0.3621, allocations: 0.4903 MB / 0.5681 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3623, allocations: 102.4 kB / 0.5682 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.3624, allocations: 40.8 kB / 0.5683 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.3624, allocations: 6.172 kB / 0.5683 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3624, allocations: 37.66 kB / 0.5683 GB, free: 28.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.3624, allocations: 3.938 kB / 0.5683 GB, free: 28.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009784/0.3634, allocations: 452.3 kB / 0.5688 GB, free: 28.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3634, allocations: 54.44 kB / 0.5688 GB, free: 28.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.364, allocations: 0.6063 MB / 0.5694 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3641, allocations: 25.7 kB / 0.5694 GB, free: 28.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.3642, allocations: 218.2 kB / 0.5696 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.3642, allocations: 64.88 kB / 0.5697 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.3643, allocations: 39.53 kB / 0.5697 GB, free: 28.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3644, allocations: 355.3 kB / 0.5701 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3646, allocations: 71.02 kB / 0.5701 GB, free: 27.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3647, allocations: 63.06 kB / 0.5702 GB, free: 27.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.365, allocations: 158.2 kB / 0.5703 GB, free: 27.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.365, allocations: 0 / 0.5703 GB, free: 27.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003982/0.3654, allocations: 240.1 kB / 0.5706 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3654, allocations: 9.281 kB / 0.5706 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3654, allocations: 0.7812 kB / 0.5706 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3654, allocations: 4.719 kB / 0.5706 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3656, allocations: 33.7 kB / 0.5706 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3656, allocations: 1.562 kB / 0.5706 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.3657, allocations: 11.91 kB / 0.5706 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3657, allocations: 4.719 kB / 0.5706 GB, free: 27.52 MB / 446.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.00018/0.3659, allocations: 188.4 kB / 0.5708 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.3659, allocations: 47.83 kB / 0.5709 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.3665, allocations: 279.4 kB / 0.5711 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3665, allocations: 1.375 kB / 0.5711 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3665, allocations: 1.375 kB / 0.5711 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3665, allocations: 3.234 kB / 0.5711 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.3673, allocations: 0.6606 MB / 0.5718 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3673, allocations: 0 / 0.5718 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3674, allocations: 39.27 kB / 0.5718 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3674, allocations: 1.375 kB / 0.5718 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3674, allocations: 3.406 kB / 0.5718 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3674, allocations: 4.5 kB / 0.5718 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3674, allocations: 1.375 kB / 0.5718 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3678, allocations: 338.2 kB / 0.5722 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.3678, allocations: 45.2 kB / 0.5722 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3679, allocations: 9.797 kB / 0.5722 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.368, allocations: 10.28 kB / 0.5722 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.368, allocations: 15.17 kB / 0.5722 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.368, allocations: 4.469 kB / 0.5722 GB, free: 26.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.3685, allocations: 451.3 kB / 0.5727 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3685, allocations: 5.375 kB / 0.5727 GB, free: 26.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3688, allocations: 56.62 kB / 0.5727 GB, free: 26.36 MB / 446.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.003153/0.372, allocations: 1.479 MB / 0.5742 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.3723, allocations: 163.6 kB / 0.5743 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3724, allocations: 3.938 kB / 0.5743 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3725, allocations: 85.78 kB / 0.5744 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.3731, allocations: 77.53 kB / 0.5745 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.377, allocations: 3.339 MB / 0.5777 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3773, allocations: 0.8312 MB / 0.5786 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3774, allocations: 67.28 kB / 0.5786 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3776, allocations: 139.7 kB / 0.5788 GB, free: 22.59 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3776, allocations: 0 / 0.5788 GB, free: 22.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.4144, allocations: 8.123 MB / 0.5867 GB, free: 21.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 4.375 kB / 0.5867 GB, free: 21.27 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.948279722826555]