Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.0007992/0.0007994, allocations: 95.94 kB / 17.35 MB, free: 6.367 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.000852/0.0008522, allocations: 177.6 kB / 18.25 MB, free: 5.527 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.367/1.367, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.24 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 9.969 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001929/0.1136, allocations: 1.325 MB / 473.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.1144, allocations: 443.2 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.1144, allocations: 0 / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.115, allocations: 447.2 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1152, allocations: 247.6 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.1156, allocations: 155.2 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1158, allocations: 163.6 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1159, allocations: 20.17 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.116, allocations: 103.8 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1162, allocations: 199.6 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1163, allocations: 4 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.1164, allocations: 31.98 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.562e-05/0.1165, allocations: 79.69 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.1166, allocations: 128.7 kB / 475.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1168, allocations: 243.2 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1168, allocations: 0 / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1168, allocations: 4 kB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1168, allocations: 4 kB / 475.9 MB, free: 9.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006183/0.1175, allocations: 0.5834 MB / 476.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1175, allocations: 12.03 kB / 476.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.1175, allocations: 34.75 kB / 476.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.1176, allocations: 44.38 kB / 476.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1178, allocations: 300.1 kB / 476.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1179, allocations: 12.3 kB / 476.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1179, allocations: 8.125 kB / 476.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.118, allocations: 57.62 kB / 476.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.118, allocations: 0 / 476.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1181, allocations: 8 kB / 477 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1181, allocations: 0 / 477 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.1182, allocations: 31.97 kB / 477 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.1186, allocations: 404.6 kB / 477.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1188, allocations: 54.5 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.1189, allocations: 16.94 kB / 477.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1189, allocations: 4 kB / 477.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1189, allocations: 34.56 kB / 477.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.119, allocations: 0 / 477.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000591/0.1195, allocations: 256 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1196, allocations: 51.41 kB / 477.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.1204, allocations: 0.8652 MB / 478.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1204, allocations: 29.7 kB / 478.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1206, allocations: 220.1 kB / 478.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1206, allocations: 19.73 kB / 478.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.1206, allocations: 13.72 kB / 478.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1207, allocations: 362.8 kB / 479.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.1208, allocations: 23.98 kB / 479.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1209, allocations: 31.97 kB / 479.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.121, allocations: 68.77 kB / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1211, allocations: 0 / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002038/0.1213, allocations: 125.1 kB / 479.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1213, allocations: 4 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1213, allocations: 0 / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1213, allocations: 3.984 kB / 479.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.1214, allocations: 16 kB / 479.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1214, allocations: 3.938 kB / 479.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.1215, allocations: 11.98 kB / 479.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1215, allocations: 0 / 479.6 MB, free: 5.781 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 (5): * Single equations (assignments): 5 * 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.0001723/0.1216, allocations: 213.7 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1217, allocations: 47.38 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.122, allocations: 153.1 kB / 480 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.122, allocations: 0 / 480 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.122, allocations: 7.922 kB / 480 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.122, allocations: 4 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.1225, allocations: 474.4 kB / 480.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1225, allocations: 0 / 480.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1226, allocations: 16.36 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1226, allocations: 7.875 kB / 480.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1226, allocations: 0 / 480.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1226, allocations: 4 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1226, allocations: 0 / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1229, allocations: 231 kB / 480.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1229, allocations: 112.8 kB / 480.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.123, allocations: 11.88 kB / 480.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.1231, allocations: 12 kB / 480.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1231, allocations: 3.984 kB / 480.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1231, allocations: 7.984 kB / 480.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005346/0.1236, allocations: 0.6511 MB / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1237, allocations: 0 / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1239, allocations: 28 kB / 481.5 MB, free: 3.715 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001217/0.1251, allocations: 1.063 MB / 482.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1253, allocations: 63.89 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1253, allocations: 0 / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.1254, allocations: 31.98 kB / 482.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1258, allocations: 26.3 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.1289, allocations: 3.364 MB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1293, allocations: 0.8262 MB / 486.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.1294, allocations: 15.98 kB / 486.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1295, allocations: 111.4 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1295, allocations: 0 / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.1447, allocations: 5.465 MB / 492.5 MB, free: 8.879 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.1449, allocations: 235.5 kB / 492.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.92, allocations: 0 / 492.7 MB, free: 8.621 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches