Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.005991/0.005991, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001281/0.001281, allocations: 194.8 kB / 16.79 MB, free: 6.238 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.538/1.538, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.3864/0.3864, allocations: 43.49 MB / 313.5 MB, free: 8.555 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.001384/0.001385, allocations: 67.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.142, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003106/0.1452, allocations: 1.675 MB / 441.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006749/0.1459, allocations: 343.6 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.1459, allocations: 0 / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1462, allocations: 39.88 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.1464, allocations: 47.88 kB / 442 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1467, allocations: 143.8 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1469, allocations: 71.75 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.147, allocations: 24.2 kB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1471, allocations: 31.84 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.1472, allocations: 35.84 kB / 442.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1472, allocations: 4 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.1473, allocations: 23.98 kB / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1474, allocations: 15.98 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.1474, allocations: 39.72 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1476, allocations: 87.66 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1476, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1476, allocations: 4 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1476, allocations: 4 kB / 442.5 MB, free: 12.15 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.0005519/0.1482, allocations: 399.1 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1482, allocations: 8.031 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.1483, allocations: 38.75 kB / 442.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.1483, allocations: 12.78 kB / 442.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1485, allocations: 196.7 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1485, allocations: 8.125 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1486, allocations: 4 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1487, allocations: 61.61 kB / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1488, allocations: 4 kB / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1488, allocations: 0 / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1488, allocations: 3.984 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1489, allocations: 39.97 kB / 443.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.1494, allocations: 316.7 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1495, allocations: 50.48 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.1496, allocations: 24.94 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1496, allocations: 0 / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1496, allocations: 38.56 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1497, allocations: 0 / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007693/0.1504, allocations: 229.2 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1505, allocations: 59.34 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1507, allocations: 174.3 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1507, allocations: 29.7 kB / 444.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1507, allocations: 108.1 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1508, allocations: 19.64 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1508, allocations: 21.72 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1509, allocations: 322.8 kB / 444.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1511, allocations: 35.97 kB / 444.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1512, allocations: 39.97 kB / 444.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1514, allocations: 88.8 kB / 444.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1514, allocations: 3.938 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002805/0.1517, allocations: 121.5 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1517, allocations: 12 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1517, allocations: 0 / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1518, allocations: 0 / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1519, allocations: 23.92 kB / 444.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1519, allocations: 0 / 444.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.152, allocations: 7.984 kB / 444.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.152, allocations: 4 kB / 444.9 MB, free: 9.461 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 9.792e-05/0.1521, allocations: 125.8 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1521, allocations: 16.09 kB / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.1525, allocations: 138.3 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1525, allocations: 7.922 kB / 445.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1525, allocations: 4 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1525, allocations: 0 / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.153, allocations: 410.4 kB / 445.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.153, allocations: 3.938 kB / 445.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.1531, allocations: 27.91 kB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1531, allocations: 0 / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1531, allocations: 4 kB / 445.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1531, allocations: 0 / 445.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1531, allocations: 0 / 445.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1535, allocations: 223.9 kB / 445.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.1535, allocations: 84.95 kB / 446 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1535, allocations: 0 / 446 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.1536, allocations: 19.92 kB / 446 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1537, allocations: 11.98 kB / 446 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1537, allocations: 4 kB / 446 MB, free: 8.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.1538, allocations: 135.2 kB / 446.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1538, allocations: 0 / 446.1 MB, free: 8.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.154, allocations: 23.98 kB / 446.2 MB, free: 8.145 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.00135/0.1554, allocations: 1.059 MB / 447.2 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1557, allocations: 91.86 kB / 447.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1557, allocations: 0 / 447.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1558, allocations: 47.97 kB / 447.3 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.1562, allocations: 19.98 kB / 447.4 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.1581, allocations: 1.686 MB / 449.1 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1584, allocations: 0.7043 MB / 449.8 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.628e-05/0.1585, allocations: 24.94 kB / 449.8 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.1586, allocations: 35.36 kB / 449.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1586, allocations: 0 / 449.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.1723, allocations: 2.677 MB / 452.5 MB, free: 1.684 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.1726, allocations: 245.2 kB / 452.7 MB, free: 1.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.888, allocations: 3.938 kB / 452.7 MB, free: 1.414 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches