Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001082/0.001082, allocations: 104.5 kB / 16.27 MB, free: 5.844 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.001087/0.001087, allocations: 186.1 kB / 17.19 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.208/0.208, allocations: 43.53 MB / 314 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 68.34 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09931, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002916/0.1023, allocations: 1.601 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005035/0.1028, allocations: 343.5 kB / 442.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.1029, allocations: 3.938 kB / 442.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1032, allocations: 63.78 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1033, allocations: 55.81 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1037, allocations: 151.5 kB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1038, allocations: 75.81 kB / 442.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1039, allocations: 16 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.104, allocations: 31.84 kB / 443 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.176e-05/0.1041, allocations: 43.83 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1041, allocations: 4 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.1042, allocations: 32 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.1042, allocations: 19.92 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.1043, allocations: 35.72 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1044, allocations: 95.72 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1044, allocations: 0 / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1044, allocations: 4 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1045, allocations: 0 / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004252/0.1049, allocations: 406.9 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1049, allocations: 15.89 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.105, allocations: 38.73 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.105, allocations: 8.844 kB / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1052, allocations: 202.1 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1052, allocations: 4.375 kB / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1052, allocations: 8.375 kB / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1054, allocations: 61.61 kB / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1054, allocations: 0 / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1054, allocations: 0 / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1054, allocations: 0 / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1056, allocations: 39.91 kB / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.1059, allocations: 320.7 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.106, allocations: 46.56 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.1061, allocations: 24.94 kB / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1061, allocations: 0 / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.1061, allocations: 42.48 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1061, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007048/0.1069, allocations: 225.5 kB / 444.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.1069, allocations: 59.39 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.107, allocations: 195.1 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.107, allocations: 29.64 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.1071, allocations: 104.1 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1071, allocations: 23.7 kB / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1071, allocations: 21.72 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.1072, allocations: 318.8 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1073, allocations: 43.97 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.452e-05/0.1074, allocations: 31.97 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1076, allocations: 88.8 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1076, allocations: 0 / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002395/0.1079, allocations: 133.7 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1079, allocations: 8 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1079, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1079, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.108, allocations: 27.97 kB / 445.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.108, allocations: 0 / 445.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.1081, allocations: 11.92 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1081, allocations: 4 kB / 445.7 MB, free: 1.527 MB / 318.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 (7): * Single equations (assignments): 7 * 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 6.308e-05/0.1082, allocations: 133.7 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1082, allocations: 11.81 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.1085, allocations: 146.3 kB / 446 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1085, allocations: 0 / 446 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1085, allocations: 0 / 446 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1086, allocations: 3.938 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.109, allocations: 414.5 kB / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.109, allocations: 0 / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.1091, allocations: 19.92 kB / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1091, allocations: 4 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1091, allocations: 3.938 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1091, allocations: 0 / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1091, allocations: 4 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1094, allocations: 215.4 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1094, allocations: 89.02 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1095, allocations: 3.938 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.1095, allocations: 19.92 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1096, allocations: 11.98 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1096, allocations: 7.938 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.965e-05/0.1097, allocations: 143.2 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1097, allocations: 0 / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1099, allocations: 15.91 kB / 446.9 MB, free: 200 kB / 318.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 (7): * Single equations (assignments): 7 * 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.00138/0.1113, allocations: 1.056 MB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.1116, allocations: 87.88 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1117, allocations: 0 / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1118, allocations: 51.95 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1122, allocations: 19.94 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1141, allocations: 1.697 MB / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1144, allocations: 0.7093 MB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.1144, allocations: 20.66 kB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.1145, allocations: 35.42 kB / 450.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1145, allocations: 0 / 450.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.1334, allocations: 2.919 MB / 453.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.006, allocations: 19.16 kB / 453.5 MB, free: 9.52 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches