Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",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.001051/0.001051, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 202.4 kB / 16.79 MB, free: 6.84 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.317/1.317, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.2868/0.2868, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001347/0.001346, allocations: 78.55 kB / 382.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 57.78 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.003173/0.1199, allocations: 2.002 MB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1211, allocations: 0.6627 MB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.1212, allocations: 8 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.1217, allocations: 243.5 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.122, allocations: 171.5 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009338/0.1229, allocations: 427.2 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.1233, allocations: 263.3 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1235, allocations: 56.94 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1236, allocations: 123.5 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1239, allocations: 199.3 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.1239, allocations: 4 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.124, allocations: 63.97 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1242, allocations: 75.75 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1243, allocations: 123 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.1246, allocations: 290.8 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.827e-05/0.1247, allocations: 8 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1247, allocations: 4 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1247, allocations: 0 / 444.6 MB, free: 10.06 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007934/0.1255, allocations: 0.6418 MB / 445.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.393e-05/0.1256, allocations: 12.03 kB / 445.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.1256, allocations: 38.75 kB / 445.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.1257, allocations: 40.47 kB / 445.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.126, allocations: 326.1 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.126, allocations: 12.31 kB / 445.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1261, allocations: 16.38 kB / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.1263, allocations: 109.5 kB / 445.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1263, allocations: 0 / 445.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1263, allocations: 7.938 kB / 445.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1263, allocations: 4 kB / 445.8 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1265, allocations: 67.95 kB / 445.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.1272, allocations: 488.4 kB / 446.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1273, allocations: 94.48 kB / 446.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.1274, allocations: 32.84 kB / 446.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1275, allocations: 3.984 kB / 446.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.1276, allocations: 42.5 kB / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1276, allocations: 0 / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008802/0.1285, allocations: 376.6 kB / 446.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1285, allocations: 59.34 kB / 446.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.1291, allocations: 0.5486 MB / 447.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1292, allocations: 25.7 kB / 447.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1294, allocations: 204.4 kB / 447.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.1294, allocations: 63.09 kB / 447.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1295, allocations: 33.7 kB / 447.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1296, allocations: 350.8 kB / 448.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1297, allocations: 47.97 kB / 448.2 MB, free: 6.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.911e-05/0.1298, allocations: 47.97 kB / 448.2 MB, free: 6.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1301, allocations: 132 kB / 448.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1301, allocations: 0 / 448.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003139/0.1304, allocations: 193 kB / 448.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1304, allocations: 7.984 kB / 448.6 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1304, allocations: 4 kB / 448.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1305, allocations: 4 kB / 448.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1306, allocations: 27.98 kB / 448.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1306, allocations: 4 kB / 448.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.1307, allocations: 7.984 kB / 448.6 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1307, allocations: 12 kB / 448.6 MB, free: 5.793 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 (17): * Single equations (assignments): 17 * 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.0002009/0.1309, allocations: 177.6 kB / 448.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.131, allocations: 39.44 kB / 448.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.1314, allocations: 233.4 kB / 449.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1314, allocations: 4 kB / 449.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1314, allocations: 7.984 kB / 449.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1314, allocations: 7.922 kB / 449.1 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.1322, allocations: 0.6186 MB / 449.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1322, allocations: 4 kB / 449.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1323, allocations: 35.92 kB / 449.7 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1323, allocations: 4 kB / 449.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1324, allocations: 7.984 kB / 449.7 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1324, allocations: 3.938 kB / 449.7 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1324, allocations: 0 / 449.7 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1327, allocations: 294.9 kB / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.1328, allocations: 112.6 kB / 450.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1329, allocations: 8 kB / 450.2 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.133, allocations: 15.92 kB / 450.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.133, allocations: 15.98 kB / 450.2 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.133, allocations: 4 kB / 450.2 MB, free: 4.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003981/0.1334, allocations: 411.1 kB / 450.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1334, allocations: 0 / 450.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1337, allocations: 47.94 kB / 450.6 MB, free: 3.668 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 (17): * Single equations (assignments): 17 * 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.136, allocations: 1.421 MB / 452.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.1363, allocations: 131.8 kB / 452.2 MB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1363, allocations: 0 / 452.2 MB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1364, allocations: 75.91 kB / 452.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.137, allocations: 85.17 kB / 452.3 MB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1688/0.3058, allocations: 3.144 MB / 455.5 MB, free: 47.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.306, allocations: 0.7982 MB / 456.3 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.3062, allocations: 51.61 kB / 456.3 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.3063, allocations: 124 kB / 456.5 MB, free: 47.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3063, allocations: 0 / 456.5 MB, free: 47.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.322, allocations: 6.889 MB / 463.3 MB, free: 46.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.3222, allocations: 233.1 kB / 463.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.287, allocations: 4 kB / 463.6 MB, free: 46.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches