Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001409/0.001409, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 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.001436/0.001436, allocations: 214.1 kB / 23.79 MB, free: 4.707 MB / 14.72 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 1.464/1.464, allocations: 207.6 MB / 234.6 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.2214/0.2214, allocations: 44.23 MB / 331.1 MB, free: 9.547 MB / 270.1 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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.89 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1096, allocations: 61.05 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002971/0.1126, allocations: 1.634 MB / 0.5185 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006854/0.1133, allocations: 367.5 kB / 0.5189 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1133, allocations: 3.938 kB / 0.5189 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.1139, allocations: 447.2 kB / 0.5193 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1143, allocations: 255.4 kB / 0.5195 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1147, allocations: 155.7 kB / 0.5197 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1149, allocations: 167.6 kB / 0.5199 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.115, allocations: 12.17 kB / 0.5199 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1151, allocations: 115.8 kB / 0.52 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.1154, allocations: 247.5 kB / 0.5202 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1154, allocations: 0 / 0.5202 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.1155, allocations: 35.92 kB / 0.5202 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1156, allocations: 79.7 kB / 0.5203 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.1157, allocations: 107 kB / 0.5204 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.116, allocations: 266.6 kB / 0.5207 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.116, allocations: 0 / 0.5207 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.116, allocations: 0 / 0.5207 GB, free: 3.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.116, allocations: 0 / 0.5207 GB, free: 3.477 MB / 398.1 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.0007182/0.1168, allocations: 0.5777 MB / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1168, allocations: 8.031 kB / 0.5213 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.032e-05/0.1168, allocations: 192 / 0.5213 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.1168, allocations: 42.67 kB / 0.5213 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.1169, allocations: 44.61 kB / 0.5213 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1172, allocations: 238.8 kB / 0.5216 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1172, allocations: 8.375 kB / 0.5216 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1172, allocations: 3.938 kB / 0.5216 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1173, allocations: 61.67 kB / 0.5216 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1174, allocations: 0 / 0.5216 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1174, allocations: 0 / 0.5216 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1174, allocations: 0 / 0.5216 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1175, allocations: 31.91 kB / 0.5217 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.118, allocations: 367.8 kB / 0.522 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1182, allocations: 46.56 kB / 0.5221 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.1183, allocations: 16.94 kB / 0.5221 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1183, allocations: 4 kB / 0.5221 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1183, allocations: 34.5 kB / 0.5221 GB, free: 1.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1183, allocations: 0 / 0.5221 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006281/0.1189, allocations: 248.6 kB / 0.5223 GB, free: 1.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.119, allocations: 55.34 kB / 0.5224 GB, free: 1.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.12, allocations: 0.8691 MB / 0.5232 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.12, allocations: 25.7 kB / 0.5233 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1202, allocations: 220.1 kB / 0.5235 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1202, allocations: 19.8 kB / 0.5235 GB, free: 416 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1203, allocations: 21.7 kB / 0.5235 GB, free: 388 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1205, allocations: 362.7 kB / 0.5239 GB, free: 16 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.1206, allocations: 24.03 kB / 0.5239 GB, free: 15.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.1206, allocations: 23.92 kB / 0.5239 GB, free: 15.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1208, allocations: 52.83 kB / 0.524 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1208, allocations: 0 / 0.524 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002423/0.121, allocations: 125.5 kB / 0.5241 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.121, allocations: 8 kB / 0.5241 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.121, allocations: 4 kB / 0.5241 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1211, allocations: 0 / 0.5241 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.1211, allocations: 11.98 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1211, allocations: 7.938 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.1212, allocations: 3.984 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1212, allocations: 4 kB / 0.5241 GB, free: 15.75 MB / 414.1 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.0002308/0.1214, allocations: 209.8 kB / 0.5243 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1215, allocations: 44 kB / 0.5244 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.1218, allocations: 145.1 kB / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1218, allocations: 3.984 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.1218, allocations: 7.922 kB / 0.5245 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1218, allocations: 0 / 0.5245 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.1224, allocations: 437.6 kB / 0.5249 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1224, allocations: 0 / 0.5249 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.1225, allocations: 15.98 kB / 0.5249 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1225, allocations: 3.938 kB / 0.525 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1225, allocations: 4 kB / 0.525 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1225, allocations: 3.938 kB / 0.525 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1225, allocations: 0 / 0.525 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1228, allocations: 219.4 kB / 0.5252 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.1228, allocations: 47.64 kB / 0.5252 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1229, allocations: 4 kB / 0.5252 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.123, allocations: 4 kB / 0.5252 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.123, allocations: 15.92 kB / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.123, allocations: 0 / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000676/0.1237, allocations: 0.6511 MB / 0.5259 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1237, allocations: 0 / 0.5259 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.124, allocations: 23.98 kB / 0.5259 GB, free: 13.85 MB / 414.1 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.002021/0.126, allocations: 1.058 MB / 0.5269 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1262, allocations: 47.95 kB / 0.527 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1262, allocations: 0 / 0.527 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.1263, allocations: 31.92 kB / 0.527 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1267, allocations: 30.23 kB / 0.527 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.1307, allocations: 3.246 MB / 0.5302 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1312, allocations: 0.826 MB / 0.531 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.66e-05/0.1313, allocations: 15.97 kB / 0.531 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1315, allocations: 115.4 kB / 0.5311 GB, free: 8.387 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1315, allocations: 0 / 0.5311 GB, free: 8.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.1591, allocations: 6.238 MB / 0.5372 GB, free: 2.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.26, allocations: 11.86 kB / 0.5372 GB, free: 2.043 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 15.529244364006445]