Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007469/0.0007469, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0007974/0.0007974, allocations: 170.3 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8541/0.8541, allocations: 158.6 MB / 185 MB, free: 3.066 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1308/0.1308, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.869e-05, allocations: 2.281 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002167/0.002186, allocations: 1.649 MB / 408.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005365/0.002723, allocations: 379 kB / 408.9 MB, free: 200 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.00278, allocations: 4 kB / 408.9 MB, free: 196 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.002985, allocations: 23.78 kB / 408.9 MB, free: 172 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.003174, allocations: 43.72 kB / 408.9 MB, free: 128 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.00348, allocations: 171.7 kB / 409.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.003624, allocations: 83.59 kB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.003722, allocations: 8.234 kB / 409.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.003796, allocations: 47.88 kB / 409.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.003857, allocations: 35.84 kB / 409.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.003874, allocations: 8 kB / 409.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.003974, allocations: 55.91 kB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.00403, allocations: 23.86 kB / 409.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.004061, allocations: 27.91 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.004248, allocations: 123.6 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004251, allocations: 0 / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004252, allocations: 0 / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004256, allocations: 3.938 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004635/0.00472, allocations: 345.7 kB / 409.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.004758, allocations: 12.03 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.004788, allocations: 38.75 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.004823, allocations: 16.83 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.004966, allocations: 137.6 kB / 410 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004978, allocations: 12.36 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.004995, allocations: 384 / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.005189, allocations: 125.6 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.005198, allocations: 192 / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005209, allocations: 3.938 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.005213, allocations: 0 / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.005372, allocations: 83.91 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.00574, allocations: 291.8 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.00589, allocations: 70.53 kB / 410.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.005969, allocations: 44.94 kB / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.005991, allocations: 0 / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.006013, allocations: 38.56 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.006014, allocations: 0 / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008802/0.006894, allocations: 389.3 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.006936, allocations: 85.11 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.007044, allocations: 153.7 kB / 411.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.007057, allocations: 29.7 kB / 411.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.007104, allocations: 100.1 kB / 411.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.007131, allocations: 35.78 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.007166, allocations: 17.72 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.007248, allocations: 326.8 kB / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.007394, allocations: 79.98 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.007553, allocations: 115.3 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.007826, allocations: 157 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007827, allocations: 0 / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003197/0.008147, allocations: 197.5 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.008162, allocations: 7.984 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008167, allocations: 0 / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.008179, allocations: 3.938 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.008297, allocations: 35.91 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.008302, allocations: 4 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.008374, allocations: 27.89 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.008382, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.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 (8): * Single equations (assignments): 8 * 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 6.539e-05/0.008448, allocations: 121.8 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.00847, allocations: 7.953 kB / 412.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.008822, allocations: 214.3 kB / 412.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008824, allocations: 4 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.008829, allocations: 3.938 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.008831, allocations: 0 / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.009315, allocations: 453.4 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009316, allocations: 4 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.009399, allocations: 39.95 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009402, allocations: 0 / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.00941, allocations: 0 / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.009412, allocations: 3.938 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.009415, allocations: 7.938 kB / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.009742, allocations: 287.3 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.009755, allocations: 11.95 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.009769, allocations: 3.984 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.009852, allocations: 31.84 kB / 413.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.009899, allocations: 11.98 kB / 413.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.009904, allocations: 4 kB / 413.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.009962, allocations: 115.2 kB / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009962, allocations: 0 / 413.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.01015, allocations: 35.92 kB / 413.8 MB, free: 10.98 MB / 394.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 (8): * Single equations (assignments): 8 * 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.00119/0.01134, allocations: 1.197 MB / 415 MB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.01168, allocations: 159.8 kB / 415.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01168, allocations: 0 / 415.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.01182, allocations: 83.84 kB / 415.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01211, allocations: 35.52 kB / 415.2 MB, free: 9.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.01381, allocations: 1.834 MB / 417.1 MB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.01387, allocations: 91.31 kB / 417.2 MB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.011e-05/0.01395, allocations: 28.7 kB / 417.2 MB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.01401, allocations: 36.48 kB / 417.2 MB, free: 7.434 MB / 394.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01401, allocations: 0 / 417.2 MB, free: 7.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.03054, allocations: 4.577 MB / 421.8 MB, free: 2.703 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.486/6.516, allocations: 23.73 kB / 421.8 MB, free: 2.68 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.4609206719324]