Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.001914/0.001913, allocations: 109.2 kB / 17.33 MB, free: 6 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.00263/0.00263, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.443/1.443, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.1982/0.1982, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.53 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003121/0.1127, allocations: 1.704 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.1135, allocations: 427.2 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.1135, allocations: 0 / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.1137, allocations: 59.84 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.114, allocations: 59.81 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1143, allocations: 123.2 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1145, allocations: 79.77 kB / 471.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.1145, allocations: 23.95 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.1146, allocations: 31.91 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.1147, allocations: 55.81 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1147, allocations: 4 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.523e-05/0.1148, allocations: 51.92 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.1149, allocations: 27.92 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.115, allocations: 39.72 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1151, allocations: 107.9 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1151, allocations: 4 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1152, allocations: 0 / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1152, allocations: 0 / 471.6 MB, free: 11.85 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.0005006/0.1157, allocations: 418.9 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1157, allocations: 12.03 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.1158, allocations: 34.75 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1158, allocations: 16.83 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.116, allocations: 200.8 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.116, allocations: 4.375 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.116, allocations: 4.375 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1162, allocations: 73.48 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1162, allocations: 0 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1162, allocations: 0 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1162, allocations: 0 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1164, allocations: 43.97 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1168, allocations: 308.7 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.117, allocations: 54.55 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.1171, allocations: 28.97 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1171, allocations: 3.938 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1172, allocations: 38.59 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1172, allocations: 0 / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001382/0.1185, allocations: 389.1 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1186, allocations: 67.39 kB / 473.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1188, allocations: 199.3 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1188, allocations: 29.7 kB / 473.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.1189, allocations: 108 kB / 473.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.1189, allocations: 39.48 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.119, allocations: 21.72 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1192, allocations: 322.8 kB / 474 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1193, allocations: 47.97 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1194, allocations: 43.91 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1197, allocations: 100.7 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1197, allocations: 0 / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002979/0.12, allocations: 141.8 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.12, allocations: 8 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1201, allocations: 3.938 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1201, allocations: 3.938 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1202, allocations: 23.98 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1202, allocations: 0 / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.1203, allocations: 15.98 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1203, allocations: 4 kB / 474.3 MB, free: 8.855 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 8.741e-05/0.1204, allocations: 133.8 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1204, allocations: 15.81 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.1208, allocations: 159.1 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1208, allocations: 3.938 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1208, allocations: 0 / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1208, allocations: 4 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.1214, allocations: 476 kB / 475.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1214, allocations: 4 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1215, allocations: 27.98 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.1215, allocations: 7.938 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1215, allocations: 8 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1215, allocations: 0 / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1216, allocations: 0 / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1219, allocations: 257 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1219, allocations: 93 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.122, allocations: 192 / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.1221, allocations: 16 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1221, allocations: 11.92 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1221, allocations: 7.984 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1223, allocations: 160.9 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1223, allocations: 4 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1225, allocations: 24 kB / 475.7 MB, free: 7.359 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.001608/0.1242, allocations: 1.143 MB / 476.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.1245, allocations: 111.9 kB / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1245, allocations: 0 / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1246, allocations: 63.89 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.125, allocations: 20 kB / 477.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1271, allocations: 1.86 MB / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1276, allocations: 0.7158 MB / 479.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.1276, allocations: 16.55 kB / 479.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.1277, allocations: 39.42 kB / 479.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1277, allocations: 0 / 479.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.1404, allocations: 3.201 MB / 482.9 MB, free: 340 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.1406, allocations: 240.4 kB / 483.1 MB, free: 72 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.018, allocations: 3.625 kB / 483.1 MB, free: 72 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches