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.001862/0.001862, 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.002381/0.002381, 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2512/0.2512, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.001957/0.001957, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003814/0.3513, allocations: 2.04 MB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.3538, allocations: 1.338 MB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3539, allocations: 4 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.3542, allocations: 67.38 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.3548, allocations: 219.1 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3561, allocations: 0.6262 MB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.3567, allocations: 358.8 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.3569, allocations: 56.89 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.3572, allocations: 155.3 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.3575, allocations: 215.2 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.3575, allocations: 16 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3577, allocations: 71.97 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.3578, allocations: 155.4 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.358, allocations: 142.9 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.3585, allocations: 447.8 kB / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3585, allocations: 0 / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3585, allocations: 0 / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3585, allocations: 7.938 kB / 0.5663 GB, free: 14.34 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.001185/0.3597, allocations: 0.7873 MB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3598, allocations: 8.031 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.3598, allocations: 42.69 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.3603, allocations: 100.5 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.361, allocations: 439.1 kB / 0.5677 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3611, allocations: 8.375 kB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.3611, allocations: 15.94 kB / 0.5677 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.3615, allocations: 164.9 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3615, allocations: 11.92 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3615, allocations: 4 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3615, allocations: 8 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3618, allocations: 111.9 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.363, allocations: 0.6636 MB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3633, allocations: 129.2 kB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3635, allocations: 69.8 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.3635, allocations: 4 kB / 0.5688 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3636, allocations: 42.5 kB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.3636, allocations: 0 / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002248/0.3658, allocations: 0.7646 MB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.3659, allocations: 85.09 kB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.367, allocations: 0.9299 MB / 0.5706 GB, free: 9.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3671, allocations: 33.7 kB / 0.5706 GB, free: 9.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.3673, allocations: 276.4 kB / 0.5709 GB, free: 9.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.3674, allocations: 75.38 kB / 0.571 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.3675, allocations: 37.7 kB / 0.571 GB, free: 9.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3676, allocations: 318.1 kB / 0.5713 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3679, allocations: 107.9 kB / 0.5714 GB, free: 8.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.3682, allocations: 137.5 kB / 0.5715 GB, free: 8.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.3688, allocations: 249.6 kB / 0.5718 GB, free: 8.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3688, allocations: 0 / 0.5718 GB, free: 8.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008521/0.3697, allocations: 349 kB / 0.5721 GB, free: 8.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3697, allocations: 4 kB / 0.5721 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3697, allocations: 4 kB / 0.5721 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3697, allocations: 0 / 0.5721 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.3701, allocations: 63.88 kB / 0.5722 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3701, allocations: 0 / 0.5722 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.3703, allocations: 19.98 kB / 0.5722 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3703, allocations: 15.98 kB / 0.5722 GB, free: 8.082 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.0002413/0.3705, allocations: 213.7 kB / 0.5724 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.3707, allocations: 63.58 kB / 0.5725 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/0.3716, allocations: 411.5 kB / 0.5729 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.3716, allocations: 4 kB / 0.5729 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3716, allocations: 4 kB / 0.5729 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3716, allocations: 0 / 0.5729 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.3733, allocations: 0.8987 MB / 0.5738 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3733, allocations: 0 / 0.5738 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.3736, allocations: 59.89 kB / 0.5738 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3736, allocations: 0 / 0.5738 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3736, allocations: 7.984 kB / 0.5738 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.3736, allocations: 3.938 kB / 0.5738 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.3736, allocations: 0 / 0.5738 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.3745, allocations: 0.5161 MB / 0.5743 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.3747, allocations: 91.52 kB / 0.5744 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.3747, allocations: 4 kB / 0.5744 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.375, allocations: 23.92 kB / 0.5744 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.3751, allocations: 23.95 kB / 0.5745 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.3751, allocations: 4 kB / 0.5745 GB, free: 5.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008358/0.3759, allocations: 0.6825 MB / 0.5751 GB, free: 5.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3759, allocations: 0 / 0.5751 GB, free: 5.012 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.3763, allocations: 71.92 kB / 0.5752 GB, free: 4.941 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.002732/0.3791, allocations: 1.386 MB / 0.5766 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.3798, allocations: 251.6 kB / 0.5768 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3798, allocations: 4 kB / 0.5768 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3801, allocations: 132.2 kB / 0.5769 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.3808, allocations: 78.98 kB / 0.577 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007791/0.3886, allocations: 5.498 MB / 0.5824 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3889, allocations: 299.1 kB / 0.5827 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.3891, allocations: 103.2 kB / 0.5828 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.3894, allocations: 191.4 kB / 0.5829 GB, free: 13.05 MB / 430.1 MB Notification: Performance of SimCode: time 2.072e-05/0.3894, allocations: 0 / 0.5829 GB, free: 13.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.4383, allocations: 11.6 MB / 0.5943 GB, free: 1.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.49, allocations: 15.28 kB / 0.5943 GB, free: 1.516 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: 14.704024809994735]