Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.000783/0.000783, allocations: 97.72 kB / 16.02 MB, free: 84 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.0009492/0.0009493, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.3715/0.3715, allocations: 43.57 MB / 315 MB, free: 9.02 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.0005823/0.0005825, allocations: 12 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1453, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001965/0.1473, allocations: 1.329 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.148, allocations: 315.8 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1481, allocations: 0 / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.1487, allocations: 447.2 kB / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.149, allocations: 247.5 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1494, allocations: 95.86 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1496, allocations: 159.6 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1497, allocations: 20.45 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1498, allocations: 99.72 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1501, allocations: 203.6 kB / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1501, allocations: 0 / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.1502, allocations: 28 kB / 446.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1503, allocations: 83.67 kB / 446.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1504, allocations: 132.7 kB / 446.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1507, allocations: 238.9 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1507, allocations: 0 / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1507, allocations: 3.938 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1508, allocations: 4 kB / 446.9 MB, free: 9.422 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.0007211/0.1515, allocations: 0.5911 MB / 447.5 MB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1515, allocations: 12.03 kB / 447.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.1516, allocations: 34.75 kB / 447.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.1516, allocations: 48.47 kB / 447.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1519, allocations: 292.2 kB / 447.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.152, allocations: 384 / 447.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.152, allocations: 8.125 kB / 447.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1522, allocations: 53.62 kB / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1522, allocations: 0 / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1522, allocations: 4 kB / 447.9 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1522, allocations: 3.984 kB / 447.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1523, allocations: 27.98 kB / 448 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.1528, allocations: 392.6 kB / 448.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1531, allocations: 54.48 kB / 448.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.1531, allocations: 20.94 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1531, allocations: 0 / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1532, allocations: 34.5 kB / 448.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1532, allocations: 0 / 448.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006388/0.1538, allocations: 244 kB / 448.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1539, allocations: 51.41 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008098/0.1547, allocations: 0.8652 MB / 449.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1547, allocations: 29.7 kB / 449.6 MB, free: 6.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1549, allocations: 216.1 kB / 449.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1549, allocations: 23.64 kB / 449.9 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.155, allocations: 17.72 kB / 449.9 MB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1551, allocations: 358.8 kB / 450.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1552, allocations: 19.98 kB / 450.3 MB, free: 5.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.1553, allocations: 19.98 kB / 450.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1554, allocations: 64.77 kB / 450.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1554, allocations: 0 / 450.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.1556, allocations: 117.2 kB / 450.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1557, allocations: 8 kB / 450.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1557, allocations: 3.938 kB / 450.5 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1557, allocations: 3.984 kB / 450.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.1558, allocations: 12 kB / 450.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1558, allocations: 3.938 kB / 450.5 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1558, allocations: 11.98 kB / 450.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1559, allocations: 4 kB / 450.5 MB, free: 5.578 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 (5): * Single equations (assignments): 5 * 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.0002484/0.1561, allocations: 213.7 kB / 450.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.1562, allocations: 39.44 kB / 450.8 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.1565, allocations: 153.2 kB / 450.9 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1565, allocations: 0 / 450.9 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1566, allocations: 3.938 kB / 450.9 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1566, allocations: 0 / 450.9 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.1571, allocations: 466.4 kB / 451.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1571, allocations: 0 / 451.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.1572, allocations: 15.98 kB / 451.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.1572, allocations: 3.938 kB / 451.4 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1572, allocations: 4 kB / 451.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1572, allocations: 0 / 451.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1572, allocations: 7.984 kB / 451.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1575, allocations: 222.9 kB / 451.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.1576, allocations: 116.5 kB / 451.7 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1576, allocations: 3.938 kB / 451.7 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.1577, allocations: 7.984 kB / 451.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1577, allocations: 8 kB / 451.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1577, allocations: 0 / 451.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006143/0.1584, allocations: 0.6589 MB / 452.4 MB, free: 3.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1584, allocations: 0 / 452.4 MB, free: 3.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1586, allocations: 16 kB / 452.4 MB, free: 3.555 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 (5): * Single equations (assignments): 5 * 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.001605/0.1602, allocations: 1.059 MB / 453.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1605, allocations: 59.91 kB / 453.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1605, allocations: 0 / 453.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.1605, allocations: 27.98 kB / 453.6 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1609, allocations: 21.95 kB / 453.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.202/0.363, allocations: 3.318 MB / 456.9 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3633, allocations: 0.8238 MB / 457.7 MB, free: 44.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.3634, allocations: 7.469 kB / 457.7 MB, free: 44.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3636, allocations: 101.1 kB / 457.8 MB, free: 44.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3636, allocations: 0.8125 kB / 457.8 MB, free: 44.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.3794, allocations: 5.392 MB / 463.2 MB, free: 44.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.3796, allocations: 235 kB / 463.5 MB, free: 44.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.296, allocations: 0 / 463.5 MB, free: 44.12 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches