Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.005593/0.005593, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001068/0.001068, allocations: 195 kB / 16.79 MB, free: 6.238 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.374/1.374, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3353/0.3353, allocations: 43.5 MB / 313.5 MB, free: 8.246 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.001288/0.001288, allocations: 67.89 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002424/0.1077, allocations: 1.672 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005249/0.1082, allocations: 343.6 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1082, allocations: 0 / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.1087, allocations: 443.2 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1089, allocations: 243.5 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1092, allocations: 107.8 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.1093, allocations: 151.7 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.1094, allocations: 24.44 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.1095, allocations: 107.7 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1097, allocations: 199.7 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1097, allocations: 0 / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.1098, allocations: 39.92 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.1099, allocations: 87.62 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.11, allocations: 99.05 kB / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1102, allocations: 254.9 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1102, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1102, allocations: 4 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1102, allocations: 0 / 443.6 MB, free: 10.77 MB / 382.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.0005942/0.1108, allocations: 0.6414 MB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1109, allocations: 12.03 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.1109, allocations: 30.75 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.111, allocations: 40.38 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1112, allocations: 300.2 kB / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1112, allocations: 384 / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1112, allocations: 8.125 kB / 444.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1114, allocations: 65.66 kB / 444.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1114, allocations: 0 / 444.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1114, allocations: 0 / 444.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1114, allocations: 0 / 444.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1115, allocations: 35.91 kB / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1119, allocations: 396.7 kB / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.112, allocations: 38.56 kB / 445.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.1121, allocations: 24.94 kB / 445.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1121, allocations: 0 / 445.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1122, allocations: 34.5 kB / 445.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.1122, allocations: 4 kB / 445.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006846/0.1128, allocations: 283.9 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1129, allocations: 59.39 kB / 445.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.1136, allocations: 0.8613 MB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1136, allocations: 33.7 kB / 446.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1137, allocations: 208.1 kB / 446.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1137, allocations: 23.64 kB / 446.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1138, allocations: 25.66 kB / 446.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1139, allocations: 358.8 kB / 447.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.114, allocations: 31.98 kB / 447.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.1141, allocations: 31.97 kB / 447.1 MB, free: 7.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.1143, allocations: 76.8 kB / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1143, allocations: 0 / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002534/0.1145, allocations: 145 kB / 447.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1146, allocations: 4 kB / 447.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1146, allocations: 7.938 kB / 447.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1146, allocations: 0 / 447.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1147, allocations: 23.98 kB / 447.4 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1147, allocations: 3.938 kB / 447.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.1148, allocations: 15.98 kB / 447.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1148, allocations: 0 / 447.4 MB, free: 6.754 MB / 382.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 0.0001459/0.1149, allocations: 209.8 kB / 447.6 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.115, allocations: 43.44 kB / 447.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.1153, allocations: 177.6 kB / 447.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1153, allocations: 0 / 447.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1153, allocations: 3.938 kB / 447.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1153, allocations: 0 / 447.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.1159, allocations: 0.4909 MB / 448.3 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1159, allocations: 0 / 448.3 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.116, allocations: 23.92 kB / 448.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.116, allocations: 3.938 kB / 448.4 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.116, allocations: 0 / 448.4 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.116, allocations: 0 / 448.4 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.116, allocations: 3.984 kB / 448.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1163, allocations: 238.9 kB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.1163, allocations: 116.5 kB / 448.7 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1164, allocations: 7.938 kB / 448.7 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.1165, allocations: 11.98 kB / 448.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.1165, allocations: 0 / 448.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1165, allocations: 4 kB / 448.7 MB, free: 5.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004951/0.117, allocations: 0.655 MB / 449.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.262e-06/0.117, allocations: 0 / 449.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1173, allocations: 27.94 kB / 449.4 MB, free: 4.648 MB / 382.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.001215/0.1185, allocations: 1.088 MB / 450.5 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1187, allocations: 79.88 kB / 450.6 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1187, allocations: 0 / 450.6 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1188, allocations: 35.97 kB / 450.6 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1192, allocations: 29.23 kB / 450.6 MB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1516/0.2708, allocations: 3.366 MB / 454 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.2711, allocations: 0.8259 MB / 454.8 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.086e-05/0.2712, allocations: 14.11 kB / 454.9 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2714, allocations: 102.6 kB / 455 MB, free: 47.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2714, allocations: 0 / 455 MB, free: 47.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.347, allocations: 5.761 MB / 460.7 MB, free: 47.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.347, allocations: 240.6 kB / 460.9 MB, free: 47.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.805, allocations: 3.938 kB / 461 MB, free: 47.11 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches