Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001095/0.001095, 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.0011/0.0011, allocations: 206.3 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.608/1.608, allocations: 205.1 MB / 222.6 MB, free: 4.996 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.3759/0.3759, allocations: 43.5 MB / 313.5 MB, free: 8.375 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.001601/0.001601, allocations: 64.28 kB / 382.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1377, allocations: 57.79 MB / 439.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003993/0.1417, allocations: 2.08 MB / 442 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1437, allocations: 1.062 MB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.1439, allocations: 3.938 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1443, allocations: 35.78 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.1448, allocations: 147.4 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1461, allocations: 0.5342 MB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.1466, allocations: 295.1 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1468, allocations: 72.52 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.147, allocations: 131.4 kB / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.1472, allocations: 187.3 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.1472, allocations: 8 kB / 444.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1474, allocations: 47.92 kB / 444.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1475, allocations: 143.5 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1477, allocations: 170.6 kB / 444.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.148, allocations: 386.4 kB / 445.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1481, allocations: 4 kB / 445.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1481, allocations: 0 / 445.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1481, allocations: 0 / 445.2 MB, free: 9.516 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001049/0.1491, allocations: 0.7968 MB / 446 MB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1492, allocations: 8.031 kB / 446 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.1492, allocations: 42.75 kB / 446 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.1493, allocations: 52.28 kB / 446.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.1499, allocations: 479.5 kB / 446.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1499, allocations: 16.38 kB / 446.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1499, allocations: 11.94 kB / 446.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1502, allocations: 155.2 kB / 446.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1503, allocations: 4 kB / 446.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1503, allocations: 4 kB / 446.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1503, allocations: 4 kB / 446.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.1506, allocations: 119.8 kB / 446.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/0.1516, allocations: 0.7151 MB / 447.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1519, allocations: 137.2 kB / 447.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.1521, allocations: 69.8 kB / 447.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.1521, allocations: 7.969 kB / 447.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1522, allocations: 42.72 kB / 447.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 4.188e-06/0.1522, allocations: 0 / 447.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001977/0.1541, allocations: 0.7398 MB / 448.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1542, allocations: 77.11 kB / 448.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.1551, allocations: 0.8906 MB / 449.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1551, allocations: 29.89 kB / 449.6 MB, free: 4.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1553, allocations: 268.2 kB / 449.8 MB, free: 4.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.918e-05/0.1554, allocations: 70.94 kB / 449.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.1555, allocations: 41.69 kB / 449.9 MB, free: 4.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1556, allocations: 370.7 kB / 450.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1559, allocations: 111.9 kB / 450.4 MB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.1562, allocations: 129.6 kB / 450.5 MB, free: 3.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/0.1567, allocations: 245.5 kB / 450.8 MB, free: 3.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1567, allocations: 4.75 kB / 450.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006756/0.1574, allocations: 340.7 kB / 451.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1574, allocations: 4 kB / 451.1 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1574, allocations: 0 / 451.1 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1575, allocations: 192 / 451.1 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1578, allocations: 59.94 kB / 451.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1578, allocations: 7.922 kB / 451.2 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.158, allocations: 31.92 kB / 451.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.158, allocations: 7.984 kB / 451.2 MB, free: 3.203 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002065/0.1582, allocations: 221.7 kB / 451.4 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1583, allocations: 59.23 kB / 451.5 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.1591, allocations: 390.1 kB / 451.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1592, allocations: 4 kB / 451.9 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1592, allocations: 0 / 451.9 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1592, allocations: 0 / 451.9 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1606, allocations: 0.9502 MB / 452.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1606, allocations: 4 kB / 452.8 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1609, allocations: 55.89 kB / 452.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1609, allocations: 7.984 kB / 452.9 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.1609, allocations: 3.938 kB / 452.9 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.1609, allocations: 7.938 kB / 452.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1609, allocations: 0 / 452.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.1616, allocations: 0.506 MB / 453.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1618, allocations: 152.4 kB / 453.6 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.1619, allocations: 7.938 kB / 453.6 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.1621, allocations: 23.92 kB / 453.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.1622, allocations: 19.97 kB / 453.6 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1622, allocations: 15.98 kB / 453.6 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.1628, allocations: 0.6474 MB / 454.3 MB, free: 36 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1629, allocations: 0 / 454.3 MB, free: 36 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2052/0.368, allocations: 56.36 kB / 454.3 MB, free: 49.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002073/0.3701, allocations: 1.347 MB / 455.7 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.3708, allocations: 265.4 kB / 455.9 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3708, allocations: 0 / 455.9 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.3711, allocations: 145.9 kB / 456.1 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.372, allocations: 73.72 kB / 456.2 MB, free: 48.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.379, allocations: 5.631 MB / 461.8 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3794, allocations: 0.8804 MB / 462.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.3796, allocations: 109.5 kB / 462.8 MB, free: 46.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3799, allocations: 175.9 kB / 462.9 MB, free: 46.1 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3799, allocations: 0 / 462.9 MB, free: 46.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.3993, allocations: 9.733 MB / 472.7 MB, free: 45.01 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.3994, allocations: 237.8 kB / 472.9 MB, free: 44.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.187, allocations: 0 / 472.9 MB, free: 44.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches