Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.0006686/0.0006686, allocations: 92.2 kB / 16.03 MB, free: 56 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.0007953/0.0007954, allocations: 184.9 kB / 16.93 MB, free: 6.895 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.406/1.406, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.3542/0.3542, allocations: 43.57 MB / 315 MB, free: 9.031 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.0005197/0.0005198, allocations: 16.52 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002232/0.1226, allocations: 1.656 MB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1238, allocations: 0.737 MB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.1239, allocations: 4 kB / 446 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.1243, allocations: 243.4 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1246, allocations: 175.5 kB / 446.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1257, allocations: 0.5732 MB / 446.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.126, allocations: 283.3 kB / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1262, allocations: 80.62 kB / 447.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1263, allocations: 107.5 kB / 447.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1265, allocations: 179.4 kB / 447.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1266, allocations: 4 kB / 447.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1267, allocations: 67.91 kB / 447.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1268, allocations: 83.69 kB / 447.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1269, allocations: 136.7 kB / 447.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1272, allocations: 306.8 kB / 448.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1272, allocations: 4 kB / 448.2 MB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1272, allocations: 7.938 kB / 448.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1272, allocations: 0 / 448.2 MB, free: 8.172 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.000679/0.1279, allocations: 0.5954 MB / 448.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.128, allocations: 12.03 kB / 448.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.128, allocations: 46.73 kB / 448.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1281, allocations: 40.38 kB / 448.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1284, allocations: 334 kB / 449.2 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1284, allocations: 8.375 kB / 449.2 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1285, allocations: 20.31 kB / 449.2 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1287, allocations: 129.5 kB / 449.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1287, allocations: 0 / 449.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1288, allocations: 4 kB / 449.3 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1288, allocations: 4 kB / 449.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.129, allocations: 91.92 kB / 449.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.1296, allocations: 0.5198 MB / 450 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1298, allocations: 114.5 kB / 450.1 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.1299, allocations: 40.84 kB / 450.1 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1299, allocations: 0 / 450.1 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.13, allocations: 46.48 kB / 450.2 MB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.13, allocations: 0 / 450.2 MB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009346/0.1309, allocations: 455.9 kB / 450.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.1309, allocations: 51.41 kB / 450.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.1315, allocations: 0.5526 MB / 451.2 MB, free: 4.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1316, allocations: 25.7 kB / 451.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1317, allocations: 208.3 kB / 451.4 MB, free: 4.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.1318, allocations: 55.2 kB / 451.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1318, allocations: 29.64 kB / 451.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1319, allocations: 350.8 kB / 451.9 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1321, allocations: 67.95 kB / 451.9 MB, free: 4.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1322, allocations: 67.95 kB / 452 MB, free: 4.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1325, allocations: 172.1 kB / 452.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1325, allocations: 4 kB / 452.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003638/0.1329, allocations: 233 kB / 452.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1329, allocations: 8 kB / 452.4 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1329, allocations: 0 / 452.4 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1329, allocations: 4 kB / 452.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1331, allocations: 35.92 kB / 452.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1331, allocations: 0 / 452.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.1332, allocations: 19.97 kB / 452.5 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1332, allocations: 4 kB / 452.5 MB, free: 3.633 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.0001563/0.1333, allocations: 185.7 kB / 452.6 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.1334, allocations: 35.53 kB / 452.7 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.1339, allocations: 281.4 kB / 453 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1339, allocations: 4 kB / 453 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1339, allocations: 11.86 kB / 453 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1339, allocations: 4 kB / 453 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.1347, allocations: 0.685 MB / 453.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1348, allocations: 4 kB / 453.7 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.1349, allocations: 35.97 kB / 453.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1349, allocations: 7.938 kB / 453.7 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1349, allocations: 8 kB / 453.7 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1349, allocations: 3.938 kB / 453.7 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1349, allocations: 0 / 453.7 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.1353, allocations: 334.9 kB / 454 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.1354, allocations: 124.6 kB / 454.2 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1355, allocations: 4 kB / 454.2 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1356, allocations: 15.92 kB / 454.2 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1356, allocations: 11.98 kB / 454.2 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1356, allocations: 4 kB / 454.2 MB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003957/0.136, allocations: 423.1 kB / 454.6 MB, free: 1.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1361, allocations: 0 / 454.6 MB, free: 1.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1363, allocations: 48 kB / 454.7 MB, free: 1.332 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.2276/0.364, allocations: 1.471 MB / 456.1 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.3647, allocations: 169.3 kB / 456.3 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3647, allocations: 4.125 kB / 456.3 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.3649, allocations: 93.58 kB / 456.4 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3658, allocations: 71.06 kB / 456.5 MB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.3715, allocations: 3.352 MB / 459.8 MB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3718, allocations: 0.8125 MB / 460.6 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.3721, allocations: 61.05 kB / 460.7 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.3723, allocations: 126.7 kB / 460.8 MB, free: 44.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3724, allocations: 0 / 460.8 MB, free: 44.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3949, allocations: 6.877 MB / 467.7 MB, free: 43.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.3952, allocations: 240.3 kB / 467.9 MB, free: 43.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.352, allocations: 0 / 467.9 MB, free: 43.26 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches