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.001193/0.001193, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001125/0.001125, allocations: 194 kB / 18.12 MB, free: 5.383 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.476/1.476, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2286/0.2286, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.25 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1229, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003374/0.1263, allocations: 1.637 MB / 470.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.1272, allocations: 435.2 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.1273, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.1279, allocations: 451.2 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1282, allocations: 239.6 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.1287, allocations: 154.5 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1289, allocations: 155.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.129, allocations: 16 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1292, allocations: 99.73 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.1294, allocations: 199.6 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1294, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.1295, allocations: 19.98 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.1296, allocations: 83.67 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.1297, allocations: 103 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.13, allocations: 235.3 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.13, allocations: 4 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.13, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.13, allocations: 0 / 472.4 MB, free: 10.97 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.0006943/0.1307, allocations: 0.6374 MB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1307, allocations: 8.031 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.1308, allocations: 34.69 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.1309, allocations: 40.47 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1311, allocations: 300.1 kB / 473.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1311, allocations: 4.375 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1312, allocations: 384 / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1313, allocations: 53.62 kB / 473.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1313, allocations: 3.984 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1313, allocations: 0 / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1313, allocations: 0 / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.1314, allocations: 27.92 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1319, allocations: 388.7 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.132, allocations: 30.56 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.132, allocations: 20.91 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1321, allocations: 3.938 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1321, allocations: 34.56 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1321, allocations: 4 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002581/0.1324, allocations: 93.2 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1324, allocations: 51.41 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/0.1332, allocations: 0.8653 MB / 475 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1332, allocations: 25.7 kB / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1333, allocations: 228 kB / 475.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1334, allocations: 3.938 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1334, allocations: 25.77 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1335, allocations: 362.7 kB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.1336, allocations: 7.984 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.1336, allocations: 15.94 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.1337, allocations: 24.84 kB / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1337, allocations: 0 / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001475/0.1339, allocations: 101.2 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1339, allocations: 6.344 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1339, allocations: 0 / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1339, allocations: 0 / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.134, allocations: 8 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.134, allocations: 4 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.1341, allocations: 3.984 kB / 475.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1341, allocations: 7.922 kB / 475.8 MB, free: 7.352 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.0001644/0.1343, allocations: 221.7 kB / 476 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1343, allocations: 43.44 kB / 476.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.1345, allocations: 108.6 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1345, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1345, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1345, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.1348, allocations: 293.5 kB / 476.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1348, allocations: 0 / 476.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1348, allocations: 4 kB / 476.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1349, allocations: 4.031 kB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1349, allocations: 0 / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1349, allocations: 3.984 kB / 476.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1349, allocations: 4 kB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1351, allocations: 190.9 kB / 476.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.1351, allocations: 112.6 kB / 476.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1352, allocations: 0 / 476.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1353, allocations: 8.016 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.1353, allocations: 4 kB / 476.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.1353, allocations: 0 / 476.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005439/0.1358, allocations: 0.655 MB / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1358, allocations: 0 / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1361, allocations: 19.94 kB / 477.4 MB, free: 5.598 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.001071/0.1372, allocations: 0.9749 MB / 478.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1373, allocations: 27.98 kB / 478.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1373, allocations: 0 / 478.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.1374, allocations: 8 kB / 478.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1378, allocations: 26.3 kB / 478.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.1409, allocations: 3.238 MB / 481.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1413, allocations: 0.8185 MB / 482.5 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.1413, allocations: 11.98 kB / 482.5 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1415, allocations: 107.5 kB / 482.7 MB, free: 376 kB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1415, allocations: 3.938 kB / 482.7 MB, free: 372 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.1568, allocations: 5.47 MB / 488.1 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.1571, allocations: 235.7 kB / 488.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/1.983, allocations: 0 / 488.4 MB, free: 10.74 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