Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.0009144/0.0009144, allocations: 80.44 kB / 19.92 MB, free: 4.637 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.00107/0.00107, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.8923/0.8923, allocations: 158.6 MB / 185 MB, free: 3.035 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.1243/0.1243, allocations: 32.38 MB / 269.6 MB, free: 14.96 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.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.635e-05, allocations: 6.078 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003539/0.003565, allocations: 1.564 MB / 408.4 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005126/0.004078, allocations: 303.4 kB / 408.7 MB, free: 360 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.004123, allocations: 0 / 408.7 MB, free: 360 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.004583, allocations: 455.1 kB / 409.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004861, allocations: 251.3 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.005078, allocations: 115.7 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.005249, allocations: 155.7 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.005338, allocations: 11.94 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.005434, allocations: 111.8 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.005602, allocations: 243.5 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.005617, allocations: 0 / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.005669, allocations: 23.98 kB / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.005754, allocations: 83.7 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.005791, allocations: 39.75 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.006017, allocations: 223.1 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.006022, allocations: 0 / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.006024, allocations: 0 / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.00603, allocations: 0 / 410.4 MB, free: 14.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005156/0.006546, allocations: 0.5737 MB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.006587, allocations: 16.03 kB / 411 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.006617, allocations: 30.75 kB / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.006663, allocations: 40.66 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006841, allocations: 238.1 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.00685, allocations: 4.375 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.006858, allocations: 8.312 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.006957, allocations: 42.25 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.006963, allocations: 192 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.00697, allocations: 3.938 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006975, allocations: 4 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.007026, allocations: 27.92 kB / 411.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.007358, allocations: 343.8 kB / 411.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.007413, allocations: 22.64 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.00744, allocations: 24.84 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.007457, allocations: 0 / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.007475, allocations: 30.56 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.007476, allocations: 7.938 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.007641, allocations: 97.44 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.007669, allocations: 59.44 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.008218, allocations: 0.8613 MB / 412.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.008227, allocations: 25.7 kB / 412.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.008332, allocations: 220.1 kB / 413 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.008346, allocations: 11.94 kB / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.008371, allocations: 13.72 kB / 413.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.008468, allocations: 358.8 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.008492, allocations: 8 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.008509, allocations: 11.98 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.008552, allocations: 36.78 kB / 413.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008553, allocations: 0 / 413.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.881e-05/0.008632, allocations: 89.41 kB / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.008643, allocations: 7.938 kB / 413.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.008647, allocations: 0 / 413.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.008657, allocations: 0 / 413.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.306e-05/0.0087, allocations: 4 kB / 413.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.008704, allocations: 0 / 413.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.008731, allocations: 12.02 kB / 413.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.008736, allocations: 4 kB / 413.6 MB, free: 11.27 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 (2): * Single equations (assignments): 2 * 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.0001215/0.008858, allocations: 213.7 kB / 413.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.008888, allocations: 43.72 kB / 413.8 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.008998, allocations: 104.7 kB / 413.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.008999, allocations: 0 / 413.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009002, allocations: 3.938 kB / 413.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.009006, allocations: 7.984 kB / 414 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.009179, allocations: 248.6 kB / 414.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00918, allocations: 4.031 kB / 414.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.009194, allocations: 4 kB / 414.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.009196, allocations: 0 / 414.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.009201, allocations: 0 / 414.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009202, allocations: 4 kB / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009202, allocations: 0 / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.009304, allocations: 195.1 kB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.009333, allocations: 35.72 kB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.009346, allocations: 0 / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.009383, allocations: 0 / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.009407, allocations: 12.02 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/0.009408, allocations: 0 / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003761/0.009785, allocations: 0.6511 MB / 415.1 MB, free: 9.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009785, allocations: 0 / 415.1 MB, free: 9.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.009948, allocations: 23.92 kB / 415.1 MB, free: 9.668 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 (2): * Single equations (assignments): 2 * 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.0007641/0.01071, allocations: 0.9779 MB / 416.1 MB, free: 8.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.01082, allocations: 23.92 kB / 416.1 MB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01082, allocations: 4 kB / 416.1 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.01084, allocations: 11.94 kB / 416.1 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.01113, allocations: 21.95 kB / 416.2 MB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.0132, allocations: 3.119 MB / 419.3 MB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.01333, allocations: 218.9 kB / 419.5 MB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.01336, allocations: 15.98 kB / 419.5 MB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.01344, allocations: 108.5 kB / 419.6 MB, free: 5.055 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01344, allocations: 0 / 419.6 MB, free: 5.055 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02944, allocations: 6.383 MB / 426 MB, free: 14.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.681, allocations: 15.73 kB / 426 MB, free: 14.53 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.68517924938351]