Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2073/0.2073, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 58.66 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1032, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003613/0.1068, allocations: 1.642 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00088/0.1078, allocations: 423.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.1079, allocations: 0 / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.1081, allocations: 51.81 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1083, allocations: 43.77 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1087, allocations: 135.2 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1088, allocations: 71.77 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.1089, allocations: 19.98 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.109, allocations: 31.91 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.1091, allocations: 31.84 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1091, allocations: 4 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1092, allocations: 55.97 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.1093, allocations: 27.86 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.1094, allocations: 35.69 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1095, allocations: 103.9 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1095, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1095, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1096, allocations: 0 / 472 MB, free: 11.61 MB / 350.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.0005564/0.1101, allocations: 407.1 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1102, allocations: 8.031 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1102, allocations: 46.73 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1103, allocations: 8.844 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1105, allocations: 196.6 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.1105, allocations: 8.125 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1105, allocations: 4 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1107, allocations: 61.67 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1107, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1108, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1108, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1109, allocations: 43.97 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.1114, allocations: 308.7 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1116, allocations: 54.55 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.1117, allocations: 29.06 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1117, allocations: 7.922 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1117, allocations: 34.56 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1117, allocations: 0 / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001357/0.1131, allocations: 389.1 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1132, allocations: 55.41 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1133, allocations: 175.7 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1133, allocations: 25.7 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.1134, allocations: 100.1 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1135, allocations: 35.45 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.1135, allocations: 25.7 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1136, allocations: 326.8 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1138, allocations: 43.97 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1139, allocations: 44.08 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.1141, allocations: 100.8 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1142, allocations: 0 / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003143/0.1145, allocations: 145.5 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1145, allocations: 15.92 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1145, allocations: 0 / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1145, allocations: 0 / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1147, allocations: 23.98 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1147, allocations: 3.938 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.1147, allocations: 11.98 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1148, allocations: 4 kB / 474.7 MB, free: 8.68 MB / 350.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 9.797e-05/0.1149, allocations: 121.8 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1149, allocations: 19.75 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.1153, allocations: 158.3 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1153, allocations: 4 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1153, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1153, allocations: 7.984 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.116, allocations: 464 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.116, allocations: 0 / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1161, allocations: 35.98 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1161, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1161, allocations: 0 / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1161, allocations: 4.188 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1161, allocations: 0 / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1165, allocations: 264.8 kB / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.1166, allocations: 85.02 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1166, allocations: 11.98 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.1167, allocations: 4 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1167, allocations: 15.92 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1168, allocations: 4 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1169, allocations: 137.7 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1169, allocations: 4 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1171, allocations: 24 kB / 476 MB, free: 7.227 MB / 350.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.001476/0.1186, allocations: 1.133 MB / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.119, allocations: 107.9 kB / 477.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.119, allocations: 0 / 477.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1191, allocations: 63.89 kB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1195, allocations: 19.94 kB / 477.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1215, allocations: 1.749 MB / 479.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1218, allocations: 0.7002 MB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.626e-05/0.1219, allocations: 24.53 kB / 479.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.1219, allocations: 31.42 kB / 479.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1219, allocations: 0 / 479.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.1412, allocations: 3.175 MB / 483 MB, free: 344 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.737, allocations: 1.625 kB / 483 MB, free: 344 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches