Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.0008722/0.0008722, allocations: 80.44 kB / 19.93 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.0008368/0.0008368, allocations: 173.9 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.7978/0.7978, allocations: 158.6 MB / 185 MB, free: 3.039 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.137/0.137, allocations: 32.37 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 406.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.951e-05, allocations: 5.938 kB / 406.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.00211/0.002139, allocations: 1.595 MB / 408.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.002572, allocations: 327.3 kB / 408.8 MB, free: 312 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.002617, allocations: 4 kB / 408.8 MB, free: 308 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.003038, allocations: 447.1 kB / 409.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.003293, allocations: 259.4 kB / 409.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.003498, allocations: 111.7 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.003665, allocations: 159.7 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.003756, allocations: 12.17 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.003852, allocations: 115.8 kB / 409.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.004022, allocations: 235.5 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.004038, allocations: 4 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.004106, allocations: 35.92 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.004191, allocations: 83.7 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.004226, allocations: 51.67 kB / 410.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.004437, allocations: 231.1 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.004442, allocations: 4 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004443, allocations: 0 / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004447, allocations: 0 / 410.5 MB, free: 14.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004975/0.004945, allocations: 0.5737 MB / 411.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.004982, allocations: 12.03 kB / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.005007, allocations: 34.75 kB / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.005046, allocations: 44.66 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.005226, allocations: 242 kB / 411.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.005236, allocations: 8.375 kB / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.005252, allocations: 384 / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.00537, allocations: 54.23 kB / 411.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.00538, allocations: 3.938 kB / 411.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005387, allocations: 4 kB / 411.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.005391, allocations: 0 / 411.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.005446, allocations: 27.92 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.005777, allocations: 351.7 kB / 411.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.005937, allocations: 42.56 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.005964, allocations: 20.94 kB / 411.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.005982, allocations: 3.938 kB / 411.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.006001, allocations: 38.55 kB / 411.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.006001, allocations: 0 / 411.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003934/0.006395, allocations: 224.7 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.006425, allocations: 51.41 kB / 412.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.00713, allocations: 0.8652 MB / 413.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.00714, allocations: 37.64 kB / 413.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.00725, allocations: 220.1 kB / 413.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.00727, allocations: 19.91 kB / 413.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.007299, allocations: 13.72 kB / 413.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.007392, allocations: 362.7 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.007434, allocations: 24.05 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.00747, allocations: 23.97 kB / 413.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.007538, allocations: 40.84 kB / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007539, allocations: 4 kB / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001225/0.007662, allocations: 117.3 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007675, allocations: 11.98 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.00768, allocations: 0 / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.007692, allocations: 0 / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-05/0.007731, allocations: 8 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007736, allocations: 4 kB / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.007771, allocations: 7.984 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.007775, allocations: 3.938 kB / 413.9 MB, free: 10.93 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 (5): * Single equations (assignments): 5 * 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.0001245/0.0079, allocations: 217.7 kB / 414.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.007931, allocations: 47.67 kB / 414.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.008106, allocations: 137.1 kB / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008109, allocations: 0 / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.008112, allocations: 0 / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008116, allocations: 4 kB / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.008443, allocations: 421.8 kB / 414.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008446, allocations: 8 kB / 414.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.008474, allocations: 11.98 kB / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008477, allocations: 0 / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.008483, allocations: 0 / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008484, allocations: 4 kB / 414.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.008486, allocations: 3.938 kB / 414.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.008615, allocations: 211.2 kB / 415 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.008642, allocations: 39.7 kB / 415 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.008657, allocations: 4 kB / 415 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.008702, allocations: 8 kB / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.008733, allocations: 7.922 kB / 415 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.008736, allocations: 3.938 kB / 415 MB, free: 9.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003865/0.009123, allocations: 0.6589 MB / 415.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009123, allocations: 0 / 415.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.009297, allocations: 16 kB / 415.7 MB, free: 9.07 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 (5): * Single equations (assignments): 5 * 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.0009021/0.0102, allocations: 1.074 MB / 416.8 MB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01032, allocations: 51.97 kB / 416.8 MB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01032, allocations: 0 / 416.8 MB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.01036, allocations: 27.91 kB / 416.9 MB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.01065, allocations: 21.91 kB / 416.9 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.01285, allocations: 3.211 MB / 420.1 MB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.01322, allocations: 220.1 kB / 420.3 MB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.01326, allocations: 8 kB / 420.3 MB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.01335, allocations: 104.5 kB / 420.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01335, allocations: 0 / 420.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.03041, allocations: 6.667 MB / 427.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.709, allocations: 7.953 kB / 427.1 MB, free: 13.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.593057470396161]