Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.0008493/0.0008493, 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.001047/0.001047, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8655/0.8655, allocations: 158.6 MB / 185 MB, free: 3.047 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.1359/0.1359, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 406.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.192e-05, allocations: 5.516 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002538/0.00256, allocations: 1.899 MB / 408.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003623, allocations: 0.6658 MB / 409.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003741, allocations: 4 kB / 409.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.004166, allocations: 255.1 kB / 409.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.004506, allocations: 195.2 kB / 409.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.005283, allocations: 443 kB / 410.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.005642, allocations: 286.9 kB / 410.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.0058, allocations: 56.83 kB / 410.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.005961, allocations: 171.4 kB / 410.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.006141, allocations: 187.6 kB / 411 MB, free: 9.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.006167, allocations: 8 kB / 411 MB, free: 9.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.0063, allocations: 67.91 kB / 411.1 MB, free: 9.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.006411, allocations: 95.67 kB / 411.1 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.006465, allocations: 55.72 kB / 411.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.006803, allocations: 302.8 kB / 411.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.006807, allocations: 0 / 411.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.006809, allocations: 0 / 411.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.006815, allocations: 0 / 411.5 MB, free: 8.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006758/0.007491, allocations: 0.5856 MB / 412.1 MB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.007533, allocations: 12.02 kB / 412.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.007574, allocations: 42.75 kB / 412.1 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.007645, allocations: 44.64 kB / 412.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.007919, allocations: 259.9 kB / 412.4 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.007932, allocations: 8.375 kB / 412.4 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.00796, allocations: 12.38 kB / 412.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.008162, allocations: 108.4 kB / 412.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.008174, allocations: 192 / 412.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.008188, allocations: 7.938 kB / 412.6 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008195, allocations: 8 kB / 412.6 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.008309, allocations: 75.83 kB / 412.6 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.008808, allocations: 439.5 kB / 413.1 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.008936, allocations: 86.55 kB / 413.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.00898, allocations: 28.84 kB / 413.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.009006, allocations: 11.94 kB / 413.2 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.00903, allocations: 42.55 kB / 413.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.009032, allocations: 0 / 413.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009293/0.009961, allocations: 391.2 kB / 413.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.009996, allocations: 55.41 kB / 413.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.01039, allocations: 0.5448 MB / 414.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.0104, allocations: 29.7 kB / 414.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01051, allocations: 212.4 kB / 414.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01055, allocations: 55.48 kB / 414.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.01059, allocations: 33.7 kB / 414.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.01068, allocations: 350.8 kB / 414.9 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.01076, allocations: 55.91 kB / 414.9 MB, free: 5.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.01082, allocations: 51.97 kB / 415 MB, free: 5.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.01096, allocations: 119.7 kB / 415.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01097, allocations: 0 / 415.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002127/0.01118, allocations: 205.2 kB / 415.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01119, allocations: 7.984 kB / 415.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.0112, allocations: 0 / 415.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.01122, allocations: 4 kB / 415.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.01132, allocations: 27.98 kB / 415.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.01132, allocations: 0 / 415.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.01137, allocations: 15.98 kB / 415.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.01138, allocations: 4 kB / 415.4 MB, free: 4.77 MB / 346.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 (17): * Single equations (assignments): 17 * 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.01149, allocations: 177.8 kB / 415.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.01153, allocations: 47.66 kB / 415.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.01182, allocations: 229.4 kB / 415.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01182, allocations: 0 / 415.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.01183, allocations: 7.922 kB / 415.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01183, allocations: 0 / 415.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.01235, allocations: 0.5741 MB / 416.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01236, allocations: 0 / 416.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.01241, allocations: 43.91 kB / 416.4 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01242, allocations: 7.984 kB / 416.4 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01243, allocations: 0 / 416.4 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.01243, allocations: 4 kB / 416.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01243, allocations: 0 / 416.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.01266, allocations: 299 kB / 416.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.01269, allocations: 43.75 kB / 416.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01271, allocations: 3.984 kB / 416.8 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.01277, allocations: 16 kB / 416.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.01281, allocations: 11.97 kB / 416.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01281, allocations: 8 kB / 416.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.01308, allocations: 411 kB / 417.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01308, allocations: 0 / 417.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.0133, allocations: 51.92 kB / 417.3 MB, free: 2.777 MB / 346.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 (17): * Single equations (assignments): 17 * 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.001492/0.01479, allocations: 1.481 MB / 418.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.01499, allocations: 123.8 kB / 418.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.015, allocations: 0 / 418.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.01507, allocations: 71.89 kB / 419 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.01545, allocations: 73.55 kB / 419 MB, free: 1.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.0181, allocations: 3.066 MB / 422.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.01824, allocations: 195.5 kB / 422.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.01836, allocations: 49.89 kB / 422.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.01849, allocations: 124.4 kB / 422.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.01849, allocations: 0 / 422.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.03758, allocations: 8.084 MB / 430.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.626, allocations: 7.953 kB / 430.5 MB, free: 5.309 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.77322557196021]