Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002491/0.002491, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 230.2 MB / 254.5 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 46.91 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 87.86 kB / 0.4913 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1363, allocations: 65.99 MB / 0.5557 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003344/0.1396, allocations: 1.715 MB / 0.5574 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1407, allocations: 0.5644 MB / 0.5579 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.1408, allocations: 0 / 0.5579 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.141, allocations: 27.78 kB / 0.558 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1413, allocations: 83.61 kB / 0.558 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1417, allocations: 136.9 kB / 0.5582 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1419, allocations: 95.67 kB / 0.5583 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.142, allocations: 8 kB / 0.5583 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.632e-05/0.1421, allocations: 35.91 kB / 0.5583 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.1422, allocations: 47.77 kB / 0.5584 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1422, allocations: 11.94 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.1424, allocations: 107.9 kB / 0.5585 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.1424, allocations: 23.92 kB / 0.5585 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.1425, allocations: 31.8 kB / 0.5585 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.1428, allocations: 171.3 kB / 0.5587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1428, allocations: 0 / 0.5587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1428, allocations: 0 / 0.5587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1428, allocations: 4 kB / 0.5587 GB, free: 3.316 MB / 414.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.0007303/0.1435, allocations: 450.6 kB / 0.5591 GB, free: 2.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1436, allocations: 12.03 kB / 0.5591 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1436, allocations: 30.75 kB / 0.5592 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1437, allocations: 8.891 kB / 0.5592 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1439, allocations: 212.1 kB / 0.5594 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1439, allocations: 384 / 0.5594 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1439, allocations: 4.375 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1442, allocations: 95.86 kB / 0.5595 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1443, allocations: 7.938 kB / 0.5595 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1443, allocations: 0 / 0.5595 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1443, allocations: 0 / 0.5595 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.1446, allocations: 63.92 kB / 0.5595 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.145, allocations: 328.6 kB / 0.5599 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.1453, allocations: 62.55 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1454, allocations: 44.94 kB / 0.56 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1455, allocations: 4 kB / 0.56 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1455, allocations: 38.56 kB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1455, allocations: 3.938 kB / 0.56 GB, free: 1.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001548/0.147, allocations: 381 kB / 0.5604 GB, free: 1.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1471, allocations: 77.11 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1473, allocations: 174 kB / 0.5606 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1473, allocations: 29.7 kB / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.1474, allocations: 100.1 kB / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1474, allocations: 27.7 kB / 0.5608 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.1475, allocations: 29.7 kB / 0.5608 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1476, allocations: 322.8 kB / 0.5611 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.1479, allocations: 75.92 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.1482, allocations: 81.64 kB / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.1487, allocations: 156.7 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1487, allocations: 0 / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006064/0.1493, allocations: 189.4 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1493, allocations: 8 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1494, allocations: 0 / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1494, allocations: 4.359 kB / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.1496, allocations: 39.95 kB / 0.5616 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1496, allocations: 0 / 0.5616 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1497, allocations: 23.97 kB / 0.5616 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1498, allocations: 15.88 kB / 0.5617 GB, free: 20 kB / 414.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 (10): * Single equations (assignments): 10 * 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.0001172/0.1499, allocations: 113.8 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.1499, allocations: 23.83 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006472/0.1506, allocations: 198.2 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1506, allocations: 3.938 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1506, allocations: 3.984 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1506, allocations: 0 / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009655/0.1515, allocations: 0.4944 MB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1515, allocations: 0 / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.1517, allocations: 35.95 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1517, allocations: 4 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1517, allocations: 7.938 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1517, allocations: 0 / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1517, allocations: 0 / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.1524, allocations: 291.2 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.1525, allocations: 89.05 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1525, allocations: 4.312 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1527, allocations: 23.97 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.1527, allocations: 7.984 kB / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1527, allocations: 15.98 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1529, allocations: 119.2 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1529, allocations: 4 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.1532, allocations: 52.14 kB / 0.5631 GB, free: 14.44 MB / 430.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 (9): * Single equations (assignments): 9 * 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.002676/0.1559, allocations: 1.22 MB / 0.5643 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006313/0.1565, allocations: 155.8 kB / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1565, allocations: 3.938 kB / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1568, allocations: 75.92 kB / 0.5645 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1572, allocations: 15.98 kB / 0.5645 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.1602, allocations: 1.868 MB / 0.5663 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1605, allocations: 0.7041 MB / 0.567 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.756e-05/0.1606, allocations: 20.53 kB / 0.5671 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.1607, allocations: 35.42 kB / 0.5671 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1607, allocations: 0 / 0.5671 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.1866, allocations: 4.293 MB / 0.5713 GB, free: 6.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.367, allocations: 8.062 kB / 0.5713 GB, free: 6.117 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.62483712984249]