Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001351/0.001351, allocations: 105.1 kB / 17.32 MB, free: 5.984 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.001272/0.001272, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.483/1.483, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2551/0.2551, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 62.89 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1224, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004193/0.1266, allocations: 1.629 MB / 470.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.1276, allocations: 435.2 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.825e-05/0.1277, allocations: 0 / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.1284, allocations: 447.2 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.1289, allocations: 243.6 kB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.1295, allocations: 162.7 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.1299, allocations: 151.8 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1301, allocations: 19.98 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1303, allocations: 107.7 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1306, allocations: 215.6 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1306, allocations: 0 / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.1307, allocations: 23.98 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1308, allocations: 83.62 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.1309, allocations: 103 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.1312, allocations: 243.3 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1312, allocations: 0 / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1312, allocations: 0 / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1313, allocations: 0 / 472.6 MB, free: 10.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007859/0.132, allocations: 0.6336 MB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1321, allocations: 12.03 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1322, allocations: 34.69 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.1322, allocations: 36.47 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1325, allocations: 300.1 kB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1326, allocations: 12.31 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1326, allocations: 8.312 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1328, allocations: 45.62 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1328, allocations: 7.984 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1328, allocations: 0 / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1328, allocations: 0 / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1329, allocations: 23.98 kB / 473.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.1335, allocations: 384.7 kB / 474.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1336, allocations: 38.5 kB / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.1337, allocations: 20.91 kB / 474.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1337, allocations: 0 / 474.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1338, allocations: 30.56 kB / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1338, allocations: 0 / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003179/0.1341, allocations: 109.1 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1342, allocations: 51.41 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/0.135, allocations: 0.8614 MB / 475.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1351, allocations: 29.7 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1352, allocations: 220 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1353, allocations: 7.938 kB / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1353, allocations: 17.7 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1355, allocations: 366.9 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.1355, allocations: 11.98 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.1356, allocations: 8 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.925e-05/0.1357, allocations: 24.84 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1357, allocations: 0 / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.1359, allocations: 101 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1359, allocations: 12.09 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1359, allocations: 0 / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1359, allocations: 0 / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.136, allocations: 4 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.136, allocations: 0 / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.1361, allocations: 7.984 kB / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1361, allocations: 3.938 kB / 476 MB, free: 7.184 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 (2): * Single equations (assignments): 2 * 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.0001972/0.1363, allocations: 213.7 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1364, allocations: 43.42 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1366, allocations: 120.6 kB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1366, allocations: 0 / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1366, allocations: 0 / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1366, allocations: 3.938 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.1369, allocations: 281.5 kB / 476.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1369, allocations: 4 kB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.137, allocations: 4 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.137, allocations: 0 / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.137, allocations: 3.938 kB / 476.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.137, allocations: 8.016 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.137, allocations: 0 / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1373, allocations: 190.9 kB / 476.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.1374, allocations: 108.6 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1374, allocations: 0 / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.1375, allocations: 8 kB / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1375, allocations: 4.031 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1375, allocations: 0 / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005853/0.1381, allocations: 0.655 MB / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1381, allocations: 0 / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1384, allocations: 19.94 kB / 477.7 MB, free: 5.434 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 (2): * Single equations (assignments): 2 * 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.00117/0.1396, allocations: 0.9735 MB / 478.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1397, allocations: 23.98 kB / 478.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1397, allocations: 4.062 kB / 478.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.1398, allocations: 15.94 kB / 478.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1402, allocations: 29.81 kB / 478.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.1438, allocations: 3.228 MB / 481.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.1442, allocations: 0.8182 MB / 482.8 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.1443, allocations: 20.05 kB / 482.8 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1444, allocations: 111.4 kB / 482.9 MB, free: 196 kB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1445, allocations: 0 / 482.9 MB, free: 196 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.1616, allocations: 5.519 MB / 488.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.1618, allocations: 240 kB / 488.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.012, allocations: 0 / 488.6 MB, free: 10.52 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches