Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19",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.001079/0.001079, allocations: 102.8 kB / 16.02 MB, free: 76 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.001059/0.001059, allocations: 185.2 kB / 16.92 MB, free: 6.914 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.533/1.533, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.369/0.369, allocations: 43.58 MB / 315 MB, free: 8.812 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.0005024/0.0005027, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1368, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.00267/0.1395, allocations: 1.539 MB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1408, allocations: 0.6161 MB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.1409, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.1415, allocations: 235.5 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1418, allocations: 183.5 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.1426, allocations: 411.3 kB / 446.5 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.143, allocations: 235.3 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1431, allocations: 52.64 kB / 446.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1433, allocations: 103.5 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1435, allocations: 171.4 kB / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1436, allocations: 0 / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1437, allocations: 47.97 kB / 447.1 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1438, allocations: 79.69 kB / 447.2 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.144, allocations: 124.9 kB / 447.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1443, allocations: 258.9 kB / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1443, allocations: 0 / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1443, allocations: 0 / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1443, allocations: 0 / 447.6 MB, free: 8.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007215/0.1451, allocations: 0.5835 MB / 448.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1451, allocations: 8.031 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1452, allocations: 38.75 kB / 448.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.1452, allocations: 36.56 kB / 448.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1456, allocations: 310.2 kB / 448.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1456, allocations: 12.31 kB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1456, allocations: 4.375 kB / 448.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1458, allocations: 85.59 kB / 448.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1458, allocations: 0 / 448.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1459, allocations: 4 kB / 448.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1459, allocations: 0 / 448.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.146, allocations: 55.97 kB / 448.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.1466, allocations: 444.4 kB / 449.1 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1468, allocations: 58.55 kB / 449.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.1469, allocations: 24.98 kB / 449.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.147, allocations: 7.984 kB / 449.2 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.147, allocations: 38.5 kB / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.147, allocations: 0 / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004247/0.1475, allocations: 133.2 kB / 449.4 MB, free: 6.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.1475, allocations: 55.34 kB / 449.4 MB, free: 6.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.1482, allocations: 0.5448 MB / 450 MB, free: 5.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1482, allocations: 25.7 kB / 450 MB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1484, allocations: 196.1 kB / 450.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1484, allocations: 23.7 kB / 450.2 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1485, allocations: 9.719 kB / 450.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1486, allocations: 350.8 kB / 450.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.1487, allocations: 23.98 kB / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.1488, allocations: 20 kB / 450.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1489, allocations: 56.77 kB / 450.7 MB, free: 5.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1489, allocations: 0 / 450.7 MB, free: 5.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001904/0.1491, allocations: 109.3 kB / 450.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1491, allocations: 8 kB / 450.8 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1491, allocations: 448 / 450.8 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1492, allocations: 7.922 kB / 450.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1493, allocations: 12 kB / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1493, allocations: 3.938 kB / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.1494, allocations: 15.84 kB / 450.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1494, allocations: 7.984 kB / 450.8 MB, free: 5.008 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 (6): * Single equations (assignments): 6 * 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.0001571/0.1495, allocations: 161.8 kB / 451 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1496, allocations: 39.53 kB / 451 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1499, allocations: 136.9 kB / 451.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1499, allocations: 3.938 kB / 451.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1499, allocations: 3.938 kB / 451.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1499, allocations: 0 / 451.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.1502, allocations: 281.5 kB / 451.4 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1502, allocations: 3.984 kB / 451.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.1503, allocations: 16 kB / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1503, allocations: 0 / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1503, allocations: 0 / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1503, allocations: 7.875 kB / 451.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1503, allocations: 0 / 451.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1506, allocations: 207.1 kB / 451.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1507, allocations: 128.6 kB / 451.8 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1507, allocations: 3.984 kB / 451.8 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.1508, allocations: 7.938 kB / 451.8 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1509, allocations: 4 kB / 451.8 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1509, allocations: 0 / 451.8 MB, free: 3.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004213/0.1513, allocations: 415.1 kB / 452.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1513, allocations: 0 / 452.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1516, allocations: 31.91 kB / 452.3 MB, free: 3.492 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 (6): * Single equations (assignments): 6 * 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.001788/0.1534, allocations: 1.247 MB / 453.5 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1536, allocations: 51.98 kB / 453.6 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1536, allocations: 0 / 453.6 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.1537, allocations: 35.92 kB / 453.6 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.1542, allocations: 69.38 kB / 453.7 MB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2035/0.3577, allocations: 2.816 MB / 456.5 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.358, allocations: 0.7928 MB / 457.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3582, allocations: 36.95 kB / 457.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3583, allocations: 94.61 kB / 457.4 MB, free: 44.38 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3583, allocations: 1.406 kB / 457.4 MB, free: 44.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.374, allocations: 5.878 MB / 463.3 MB, free: 43.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.3741, allocations: 231.3 kB / 463.5 MB, free: 43.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.274, allocations: 0 / 463.5 MB, free: 43.68 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches