Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001907/0.001907, 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.002246/0.002246, 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.459/1.459, 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.2309/0.2309, 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 71.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3746, allocations: 66.03 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003929/0.3785, allocations: 2.056 MB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3806, allocations: 1.037 MB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3807, allocations: 4 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.3813, allocations: 263.1 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.3819, allocations: 263.1 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3831, allocations: 497.2 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.3836, allocations: 334.8 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.3838, allocations: 50.81 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.384, allocations: 151.3 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.3844, allocations: 231.1 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.3844, allocations: 12 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.3846, allocations: 75.97 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3848, allocations: 103.5 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3849, allocations: 123 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.3854, allocations: 346.2 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.3854, allocations: 0 / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3854, allocations: 0 / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.3854, allocations: 0 / 0.566 GB, free: 14.94 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.001003/0.3864, allocations: 0.6166 MB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.3865, allocations: 8.031 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.36e-05/0.3866, allocations: 50.73 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.3866, allocations: 48.61 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.3871, allocations: 268.6 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3871, allocations: 8.375 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.3872, allocations: 12.38 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3874, allocations: 105.5 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.3874, allocations: 4 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3875, allocations: 3.938 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3875, allocations: 7.984 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.3877, allocations: 83.83 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.3884, allocations: 471.4 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.3886, allocations: 90.48 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.3887, allocations: 28.84 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3887, allocations: 4 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3887, allocations: 46.44 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.3888, allocations: 0 / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000996/0.3897, allocations: 400.6 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3898, allocations: 55.41 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.3905, allocations: 0.5877 MB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3905, allocations: 25.7 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3907, allocations: 216.4 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.3908, allocations: 63.47 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.3908, allocations: 29.72 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.391, allocations: 358.8 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3911, allocations: 47.97 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3912, allocations: 51.97 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3915, allocations: 131.3 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3915, allocations: 3.938 kB / 0.5697 GB, free: 10.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003566/0.3918, allocations: 205.2 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3918, allocations: 6.5 kB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3919, allocations: 0 / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3919, allocations: 0 / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.392, allocations: 31.98 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.392, allocations: 0 / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.3921, allocations: 15.98 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3921, allocations: 8 kB / 0.57 GB, free: 10.71 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.0002038/0.3923, allocations: 173.7 kB / 0.5701 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.3924, allocations: 43.72 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.3929, allocations: 245.5 kB / 0.5704 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3929, allocations: 7.984 kB / 0.5704 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3929, allocations: 0 / 0.5704 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3929, allocations: 4 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.3939, allocations: 0.6144 MB / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3939, allocations: 0 / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.394, allocations: 35.92 kB / 0.571 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.394, allocations: 4 kB / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.394, allocations: 0 / 0.5711 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.394, allocations: 3.938 kB / 0.5711 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.394, allocations: 8 kB / 0.5711 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.3944, allocations: 305.1 kB / 0.5714 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.3945, allocations: 43.7 kB / 0.5714 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3945, allocations: 4 kB / 0.5714 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3946, allocations: 15.92 kB / 0.5714 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.3947, allocations: 7.984 kB / 0.5714 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3947, allocations: 12 kB / 0.5714 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005021/0.3952, allocations: 439.1 kB / 0.5719 GB, free: 8.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3952, allocations: 0 / 0.5719 GB, free: 8.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3955, allocations: 51.94 kB / 0.5719 GB, free: 8.633 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.003395/0.3989, allocations: 1.434 MB / 0.5733 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.3992, allocations: 130.2 kB / 0.5734 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3992, allocations: 0 / 0.5734 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3994, allocations: 71.89 kB / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3999, allocations: 75.2 kB / 0.5736 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.4042, allocations: 3.166 MB / 0.5767 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.4047, allocations: 0.8182 MB / 0.5775 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.4049, allocations: 46.25 kB / 0.5775 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4051, allocations: 139.3 kB / 0.5776 GB, free: 2.961 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4051, allocations: 0 / 0.5776 GB, free: 2.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.4404, allocations: 7.885 MB / 0.5853 GB, free: 11.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.86, allocations: 6.969 kB / 0.5853 GB, free: 11.12 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.956063417019323]