Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8713/0.8713, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.242/0.242, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.754e-05, allocations: 10.84 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002363/0.00238, allocations: 1.682 MB / 441.3 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.003085, allocations: 0.5724 MB / 441.9 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.003139, allocations: 4 kB / 441.9 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.003317, allocations: 31.77 kB / 441.9 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.003534, allocations: 83.48 kB / 442 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.003808, allocations: 187.8 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003952, allocations: 99.69 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.004037, allocations: 11.98 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.004109, allocations: 47.91 kB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.004171, allocations: 35.88 kB / 442.4 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004186, allocations: 8 kB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.0043, allocations: 103.8 kB / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.004353, allocations: 23.86 kB / 442.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.004385, allocations: 27.91 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.004611, allocations: 175.5 kB / 442.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004614, allocations: 3.984 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004615, allocations: 4 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004619, allocations: 0 / 442.7 MB, free: 1.137 MB / 410.7 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.0004789/0.005098, allocations: 381.3 kB / 443.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005138, allocations: 8.031 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.005168, allocations: 34.75 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.0052, allocations: 12.83 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.005356, allocations: 144.7 kB / 443.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.005365, allocations: 4.375 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005384, allocations: 4.375 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.005591, allocations: 121.6 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005601, allocations: 192 / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005611, allocations: 7.938 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005615, allocations: 0 / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.005762, allocations: 75.84 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1743/0.18, allocations: 304.8 kB / 443.8 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1803, allocations: 76.59 kB / 443.8 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.1804, allocations: 44.19 kB / 443.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.1804, allocations: 7.562 kB / 443.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1804, allocations: 34.25 kB / 443.9 MB, free: 46.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.485e-06/0.1804, allocations: 1.531 kB / 443.9 MB, free: 46.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001082/0.1815, allocations: 419.6 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1816, allocations: 77.11 kB / 444.4 MB, free: 46.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1817, allocations: 168.2 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1817, allocations: 31.42 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1817, allocations: 100.1 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1818, allocations: 27.48 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1818, allocations: 31.08 kB / 444.8 MB, free: 45.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.1819, allocations: 320.6 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.182, allocations: 82.33 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1822, allocations: 122.8 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1824, allocations: 174.1 kB / 445.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1824, allocations: 0 / 445.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003038/0.1827, allocations: 212.4 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1828, allocations: 9.281 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1828, allocations: 3.938 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1828, allocations: 6.281 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1829, allocations: 36.41 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1829, allocations: 0 / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.183, allocations: 30.08 kB / 445.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.183, allocations: 6.469 kB / 445.7 MB, free: 45.45 MB / 410.7 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 5.654e-05/0.1831, allocations: 118.1 kB / 445.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1831, allocations: 16.59 kB / 445.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.1834, allocations: 231.5 kB / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1834, allocations: 0 / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1834, allocations: 0 / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1834, allocations: 0 / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.1839, allocations: 489.5 kB / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1839, allocations: 0 / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.184, allocations: 38.88 kB / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.184, allocations: 0 / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.184, allocations: 7.375 kB / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.184, allocations: 6.469 kB / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.184, allocations: 0 / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.1843, allocations: 301.5 kB / 446.9 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.1844, allocations: 13.94 kB / 446.9 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1844, allocations: 6.75 kB / 446.9 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.1845, allocations: 27.23 kB / 447 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.1845, allocations: 13.5 kB / 447 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1845, allocations: 4.25 kB / 447 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.1846, allocations: 121.5 kB / 447.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1846, allocations: 0 / 447.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.1848, allocations: 54.78 kB / 447.2 MB, free: 44.68 MB / 410.7 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.001191/0.186, allocations: 1.272 MB / 448.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.1863, allocations: 173.7 kB / 448.6 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1863, allocations: 0 / 448.6 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1865, allocations: 87.97 kB / 448.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1868, allocations: 22.48 kB / 448.7 MB, free: 43.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1884, allocations: 1.953 MB / 450.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.1884, allocations: 98.83 kB / 450.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.854e-05/0.1885, allocations: 31.41 kB / 450.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.1886, allocations: 39.83 kB / 450.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1886, allocations: 4 kB / 450.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.203, allocations: 5.244 MB / 456.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/6.878, allocations: 14.08 kB / 456.1 MB, free: 40.81 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 8.813718928955495]