Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.001076/0.001076, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001138/0.001138, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.223/0.223, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.47 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003134/0.125, allocations: 1.611 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000715/0.1257, allocations: 427.1 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.1258, allocations: 4 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.1263, allocations: 443.2 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.1267, allocations: 255.5 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.127, allocations: 131.3 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1272, allocations: 167.6 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1273, allocations: 16.17 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.1274, allocations: 103.8 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1277, allocations: 211.6 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1277, allocations: 4 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.1278, allocations: 31.98 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1279, allocations: 75.7 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.355e-05/0.128, allocations: 103 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1283, allocations: 255.2 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1283, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1283, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1284, allocations: 0 / 473.1 MB, free: 10.48 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.0007168/0.1291, allocations: 0.6375 MB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1291, allocations: 8.031 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.1292, allocations: 38.69 kB / 473.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.1292, allocations: 40.47 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1295, allocations: 304.1 kB / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1295, allocations: 4.375 kB / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1296, allocations: 8.125 kB / 474.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1297, allocations: 53.61 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1297, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1298, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1298, allocations: 8 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.1299, allocations: 23.98 kB / 474.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.1304, allocations: 396.6 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1306, allocations: 42.5 kB / 474.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1307, allocations: 20.95 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1307, allocations: 4.062 kB / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1307, allocations: 30.56 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1307, allocations: 0 / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000635/0.1314, allocations: 224 kB / 475 MB, free: 8.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1314, allocations: 51.41 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.1322, allocations: 0.8691 MB / 475.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1323, allocations: 33.64 kB / 475.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1324, allocations: 220.1 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1325, allocations: 11.75 kB / 476.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1325, allocations: 25.7 kB / 476.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1327, allocations: 354.8 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.1327, allocations: 15.98 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.1328, allocations: 23.98 kB / 476.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1329, allocations: 52.77 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.133, allocations: 0 / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002054/0.1332, allocations: 113.1 kB / 476.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1332, allocations: 4 kB / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1332, allocations: 0 / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1332, allocations: 0 / 476.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.1333, allocations: 19.98 kB / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1333, allocations: 3.938 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.1334, allocations: 4 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1334, allocations: 4 kB / 476.7 MB, free: 6.633 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.000232/0.1336, allocations: 209.8 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.1337, allocations: 47.38 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.134, allocations: 141.3 kB / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.134, allocations: 0 / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.134, allocations: 3.938 kB / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.134, allocations: 0 / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.1346, allocations: 458.4 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1346, allocations: 4 kB / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.1347, allocations: 11.98 kB / 477.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1347, allocations: 3.938 kB / 477.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1347, allocations: 4 kB / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1347, allocations: 0 / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.1347, allocations: 4 kB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.135, allocations: 203 kB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.1351, allocations: 116.6 kB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1351, allocations: 3.938 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.1352, allocations: 11.98 kB / 477.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1352, allocations: 3.938 kB / 477.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.1352, allocations: 7.938 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005832/0.1358, allocations: 0.655 MB / 478.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1358, allocations: 0 / 478.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1361, allocations: 27.91 kB / 478.6 MB, free: 4.633 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.001372/0.1375, allocations: 1.042 MB / 479.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1377, allocations: 47.91 kB / 479.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1377, allocations: 0 / 479.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.1378, allocations: 23.98 kB / 479.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1382, allocations: 25.95 kB / 479.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.1416, allocations: 3.25 MB / 483 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1421, allocations: 0.822 MB / 483.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.1421, allocations: 11.98 kB / 483.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.1423, allocations: 99.39 kB / 484 MB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1423, allocations: 4 kB / 484 MB, free: 15.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.165, allocations: 5.837 MB / 489.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.705, allocations: 0 / 489.8 MB, free: 9.57 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches