Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001792/0.001792, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002082/0.002082, allocations: 209 kB / 23.73 MB, free: 4.387 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.471/1.471, allocations: 230.6 MB / 257.5 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.2329/0.2329, allocations: 46.96 MB / 360.9 MB, free: 4.012 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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.91 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3775, allocations: 66.04 MB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003013/0.3805, allocations: 1.669 MB / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3816, allocations: 0.5621 MB / 0.5628 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.3816, allocations: 0 / 0.5628 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3819, allocations: 63.72 kB / 0.5629 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3821, allocations: 95.59 kB / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.3826, allocations: 187.1 kB / 0.5631 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.3827, allocations: 87.7 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3828, allocations: 18.05 kB / 0.5632 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.3829, allocations: 39.83 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.383, allocations: 51.81 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.383, allocations: 8 kB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.3831, allocations: 47.98 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.3832, allocations: 27.86 kB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.3832, allocations: 35.72 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3834, allocations: 119.5 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3834, allocations: 0 / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3834, allocations: 0 / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3834, allocations: 3.938 kB / 0.5635 GB, free: 1.18 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.00049/0.3839, allocations: 353.6 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.384, allocations: 12.03 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.384, allocations: 38.75 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.384, allocations: 8.891 kB / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3842, allocations: 154.9 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3843, allocations: 4.375 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3843, allocations: 8.312 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3845, allocations: 69.59 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3845, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3845, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3845, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3846, allocations: 51.91 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.3851, allocations: 291.8 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3853, allocations: 62.56 kB / 0.5646 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.3854, allocations: 24.97 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.3854, allocations: 4.047 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3855, allocations: 34.56 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3855, allocations: 0 / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001466/0.3869, allocations: 425.3 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.387, allocations: 55.41 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3872, allocations: 202.3 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3872, allocations: 25.7 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3873, allocations: 108.1 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3873, allocations: 35.7 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.3874, allocations: 29.7 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3875, allocations: 326.8 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3877, allocations: 55.89 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3878, allocations: 60 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3881, allocations: 120.8 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3881, allocations: 64 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003501/0.3884, allocations: 173.5 kB / 0.5662 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3885, allocations: 4 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.3885, allocations: 4 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3885, allocations: 3.938 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3886, allocations: 35.91 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3886, allocations: 0 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.3887, allocations: 11.98 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3887, allocations: 4 kB / 0.5662 GB, free: 14.25 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.0001108/0.3888, allocations: 129.8 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.3888, allocations: 15.91 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.3893, allocations: 198.8 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3893, allocations: 3.938 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3893, allocations: 3.938 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3893, allocations: 3.984 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.39, allocations: 467.1 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.39, allocations: 0 / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3901, allocations: 31.92 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3901, allocations: 0 / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3901, allocations: 4 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3901, allocations: 4 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3901, allocations: 4.062 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3906, allocations: 276.9 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.3906, allocations: 19.89 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3906, allocations: 0 / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3907, allocations: 15.98 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.3908, allocations: 7.984 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3908, allocations: 4 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3909, allocations: 160.2 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 0 / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3912, allocations: 24 kB / 0.5675 GB, free: 12.8 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.002371/0.3935, allocations: 1.208 MB / 0.5687 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3939, allocations: 119.9 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3939, allocations: 4 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3941, allocations: 68.02 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3944, allocations: 18.8 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.3969, allocations: 1.943 MB / 0.5708 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3971, allocations: 104.6 kB / 0.5709 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.3972, allocations: 36.45 kB / 0.5709 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.3972, allocations: 39.42 kB / 0.571 GB, free: 9.344 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3972, allocations: 0 / 0.571 GB, free: 9.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.4294, allocations: 4.104 MB / 0.575 GB, free: 5.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.38, allocations: 11.72 kB / 0.575 GB, free: 5.281 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.38150256127119]