Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.0009634/0.0009634, allocations: 80.53 kB / 19.92 MB, free: 4.629 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.001119/0.001119, allocations: 177.2 kB / 23.21 MB, free: 1.34 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.8233/0.8233, allocations: 158.6 MB / 185 MB, free: 3.027 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.1347/0.1347, allocations: 32.36 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.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.096e-05, allocations: 2.281 kB / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002073/0.002094, allocations: 1.61 MB / 408.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.002531, allocations: 323.4 kB / 408.8 MB, free: 300 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.002574, allocations: 4 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.002987, allocations: 443.1 kB / 409.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.003236, allocations: 259.3 kB / 409.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.003452, allocations: 123.6 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.003676, allocations: 163.6 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.003763, allocations: 16.12 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.003856, allocations: 119.8 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.004017, allocations: 243.6 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.004033, allocations: 4 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.004099, allocations: 35.92 kB / 410.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.00418, allocations: 91.64 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.004211, allocations: 39.73 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.004407, allocations: 239.1 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00441, allocations: 0 / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004411, allocations: 0 / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.004416, allocations: 0 / 410.5 MB, free: 14.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005863/0.005002, allocations: 0.5854 MB / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.00504, allocations: 12.03 kB / 411.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.005068, allocations: 34.75 kB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.00511, allocations: 44.66 kB / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.005298, allocations: 242 kB / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.005307, allocations: 4.375 kB / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.005323, allocations: 384 / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005439, allocations: 58.23 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005449, allocations: 3.938 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.005456, allocations: 0 / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005461, allocations: 4 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.005539, allocations: 43.91 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.005894, allocations: 355.7 kB / 411.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.00598, allocations: 38.55 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.006017, allocations: 24.94 kB / 411.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.006038, allocations: 3.984 kB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.006057, allocations: 34.56 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.006058, allocations: 4 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004815/0.006539, allocations: 292.7 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.006703, allocations: 51.41 kB / 412.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.00721, allocations: 0.8574 MB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.007223, allocations: 29.7 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.007333, allocations: 224 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.007354, allocations: 15.81 kB / 413.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.007388, allocations: 25.7 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.007482, allocations: 362.7 kB / 413.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.007538, allocations: 31.97 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/0.00759, allocations: 35.97 kB / 413.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.007709, allocations: 77.03 kB / 414 MB, free: 10.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.00771, allocations: 0 / 414 MB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001653/0.007875, allocations: 145.4 kB / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007886, allocations: 7.938 kB / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007891, allocations: 0 / 414.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007902, allocations: 3.938 kB / 414.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.007975, allocations: 19.98 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.007979, allocations: 4 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.008019, allocations: 11.98 kB / 414.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.008024, allocations: 0 / 414.2 MB, free: 10.71 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 (7): * Single equations (assignments): 7 * 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.0001234/0.008147, allocations: 217.7 kB / 414.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.008178, allocations: 43.72 kB / 414.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.008377, allocations: 173.4 kB / 414.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.008379, allocations: 7.938 kB / 414.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.008382, allocations: 0 / 414.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008385, allocations: 0 / 414.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.008746, allocations: 461.5 kB / 415 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008749, allocations: 4 kB / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.008787, allocations: 15.98 kB / 415.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.008788, allocations: 0 / 415.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.008794, allocations: 4 kB / 415.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008797, allocations: 7.984 kB / 415.1 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.008799, allocations: 7.875 kB / 415.1 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.008965, allocations: 239.2 kB / 415.3 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.00899, allocations: 35.72 kB / 415.3 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.009005, allocations: 4 kB / 415.4 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.009055, allocations: 11.98 kB / 415.4 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.009087, allocations: 7.922 kB / 415.4 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.009091, allocations: 8 kB / 415.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006255/0.009717, allocations: 0.6511 MB / 416 MB, free: 8.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009717, allocations: 0 / 416 MB, free: 8.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.009885, allocations: 24 kB / 416.1 MB, free: 8.73 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 (7): * Single equations (assignments): 7 * 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.0008878/0.01077, allocations: 1.095 MB / 417.1 MB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01093, allocations: 75.94 kB / 417.2 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01093, allocations: 0 / 417.2 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.01099, allocations: 44.06 kB / 417.3 MB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.01126, allocations: 37.92 kB / 417.3 MB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.01354, allocations: 3.284 MB / 420.6 MB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.01367, allocations: 220.1 kB / 420.8 MB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.01371, allocations: 8.734 kB / 420.8 MB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.0138, allocations: 108.5 kB / 420.9 MB, free: 3.762 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0138, allocations: 0 / 420.9 MB, free: 3.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.03122, allocations: 6.788 MB / 427.7 MB, free: 12.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.639, allocations: 11.95 kB / 427.7 MB, free: 12.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.572807544842362]