Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",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.00151/0.00151, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001458/0.001458, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.471/1.471, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2094/0.2094, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.00206/0.00206, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1205, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003127/0.1237, allocations: 1.612 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1253, allocations: 0.9613 MB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.1254, allocations: 0 / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1257, allocations: 31.83 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1259, allocations: 43.78 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1264, allocations: 155.7 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1265, allocations: 63.83 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1266, allocations: 19.97 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.1267, allocations: 31.86 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1269, allocations: 35.08 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1269, allocations: 4 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.127, allocations: 55.97 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1271, allocations: 19.91 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.1271, allocations: 23.81 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1274, allocations: 103.6 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1274, allocations: 3.938 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1274, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1274, allocations: 0 / 0.4905 GB, free: 9.098 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.0006176/0.128, allocations: 402.9 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1281, allocations: 15.89 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1281, allocations: 34.75 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.1281, allocations: 8.891 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1284, allocations: 188.2 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1284, allocations: 4.375 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1284, allocations: 8.359 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1286, allocations: 83.27 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1287, allocations: 0 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1287, allocations: 0 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1287, allocations: 4 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1288, allocations: 35.97 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1293, allocations: 308.7 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1295, allocations: 54.5 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.1295, allocations: 24.94 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1296, allocations: 0 / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1296, allocations: 34.56 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1296, allocations: 0 / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008225/0.1304, allocations: 229.3 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.1305, allocations: 77.11 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1307, allocations: 156.3 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1307, allocations: 25.7 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1308, allocations: 100 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1308, allocations: 27.78 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1309, allocations: 21.66 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1311, allocations: 322.8 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1312, allocations: 35.97 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1314, allocations: 53.67 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1316, allocations: 100.8 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1316, allocations: 4 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003299/0.132, allocations: 113.6 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.132, allocations: 4 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.132, allocations: 0 / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.132, allocations: 8 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1322, allocations: 19.97 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1322, allocations: 3.938 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.1323, allocations: 12 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1323, allocations: 4 kB / 0.4929 GB, free: 6.375 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.0001073/0.1324, allocations: 125.7 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.1324, allocations: 7.953 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.1328, allocations: 138.3 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1328, allocations: 0 / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1328, allocations: 3.938 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1329, allocations: 0 / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.1335, allocations: 410.8 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1335, allocations: 4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.1336, allocations: 19.98 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1336, allocations: 3.938 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1336, allocations: 4 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1336, allocations: 80 / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1336, allocations: 3.984 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.134, allocations: 227.4 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1341, allocations: 85.06 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1341, allocations: 7.922 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.1342, allocations: 11.94 kB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1343, allocations: 11.98 kB / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1343, allocations: 0 / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1344, allocations: 107.2 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1344, allocations: 4 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1347, allocations: 27.94 kB / 0.4941 GB, free: 5.086 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.002216/0.1369, allocations: 1.101 MB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1372, allocations: 95.86 kB / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1373, allocations: 0 / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1374, allocations: 47.97 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1378, allocations: 23.86 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.1401, allocations: 1.582 MB / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1405, allocations: 0.6963 MB / 0.4975 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.576e-05/0.1406, allocations: 28.62 kB / 0.4975 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.1407, allocations: 31.42 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1407, allocations: 0 / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.1662, allocations: 3.115 MB / 0.5006 GB, free: 14.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.043, allocations: 15.91 kB / 0.5006 GB, free: 14.2 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches