Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001129/0.001129, 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.00221/0.00221, allocations: 203.2 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.56/1.56, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.3798/0.3798, allocations: 43.5 MB / 313.5 MB, free: 8.543 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.001421/0.001421, allocations: 74.55 kB / 382.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1269, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003401/0.1304, allocations: 1.668 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007389/0.1311, allocations: 355.5 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1313, allocations: 4 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.1318, allocations: 447.2 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1322, allocations: 251.5 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.1326, allocations: 139.8 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1329, allocations: 163.6 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.133, allocations: 32.17 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1332, allocations: 99.8 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1334, allocations: 207.5 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1335, allocations: 4 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1336, allocations: 27.98 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1337, allocations: 87.62 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.1338, allocations: 110.9 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1341, allocations: 251 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1341, allocations: 0 / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1341, allocations: 0 / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1341, allocations: 0 / 443.7 MB, free: 10.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000782/0.1349, allocations: 0.6414 MB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1349, allocations: 8.031 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.135, allocations: 38.75 kB / 444.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.1351, allocations: 44.38 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1353, allocations: 304.1 kB / 444.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.1354, allocations: 384 / 444.7 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1354, allocations: 8.375 kB / 444.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1356, allocations: 61.59 kB / 444.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1356, allocations: 0 / 444.8 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1356, allocations: 4 kB / 444.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1356, allocations: 0 / 444.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1357, allocations: 39.97 kB / 444.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.1363, allocations: 412.5 kB / 445.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1364, allocations: 50.55 kB / 445.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.1365, allocations: 32.88 kB / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1365, allocations: 0 / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1366, allocations: 30.56 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1366, allocations: 0 / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008741/0.1375, allocations: 308 kB / 445.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1375, allocations: 51.41 kB / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.1384, allocations: 0.8652 MB / 446.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1384, allocations: 29.7 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1386, allocations: 219.9 kB / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1386, allocations: 23.7 kB / 446.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.1387, allocations: 17.72 kB / 446.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1388, allocations: 366.8 kB / 447.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1389, allocations: 43.91 kB / 447.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1391, allocations: 31.97 kB / 447.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1393, allocations: 88.8 kB / 447.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1393, allocations: 4 kB / 447.4 MB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003047/0.1396, allocations: 153.1 kB / 447.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1396, allocations: 4 kB / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1397, allocations: 0 / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1397, allocations: 0 / 447.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1398, allocations: 23.92 kB / 447.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1398, allocations: 0 / 447.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.1399, allocations: 23.92 kB / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1399, allocations: 0 / 447.6 MB, free: 6.816 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 (7): * Single equations (assignments): 7 * 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.000201/0.1401, allocations: 217.7 kB / 447.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.1402, allocations: 39.53 kB / 447.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.1406, allocations: 185.7 kB / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1406, allocations: 8 kB / 448 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1406, allocations: 0 / 448 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1406, allocations: 3.938 kB / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.1413, allocations: 0.51 MB / 448.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1414, allocations: 0 / 448.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.1414, allocations: 15.98 kB / 448.6 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1415, allocations: 8 kB / 448.6 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1415, allocations: 3.938 kB / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1415, allocations: 3.938 kB / 448.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1415, allocations: 0 / 448.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.1419, allocations: 251 kB / 448.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.142, allocations: 116.5 kB / 448.9 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.142, allocations: 7.938 kB / 448.9 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.1421, allocations: 11.98 kB / 449 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.1422, allocations: 4 kB / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1422, allocations: 0 / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005794/0.1427, allocations: 0.655 MB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1428, allocations: 0 / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.143, allocations: 24 kB / 449.6 MB, free: 4.66 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 (7): * Single equations (assignments): 7 * 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.001567/0.1446, allocations: 1.106 MB / 450.7 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1449, allocations: 87.94 kB / 450.8 MB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1449, allocations: 0 / 450.8 MB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.145, allocations: 51.89 kB / 450.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1455, allocations: 29.81 kB / 450.9 MB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2052/0.3507, allocations: 3.429 MB / 454.3 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3511, allocations: 0.826 MB / 455.2 MB, free: 47.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.3512, allocations: 21.83 kB / 455.2 MB, free: 47.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3514, allocations: 116.8 kB / 455.3 MB, free: 47.65 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3514, allocations: 1.25 kB / 455.3 MB, free: 47.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.3661, allocations: 5.855 MB / 461.2 MB, free: 47.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.3663, allocations: 231.9 kB / 461.4 MB, free: 46.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.068, allocations: 3.938 kB / 461.4 MB, free: 46.79 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches