Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001761/0.001761, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002655/0.002655, allocations: 227 kB / 23.01 MB, free: 5.039 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.496/1.496, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.2308/0.2308, allocations: 44.25 MB / 330.3 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] 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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",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.002552/0.002552, allocations: 69 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1269, allocations: 61.04 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003758/0.1306, allocations: 1.629 MB / 0.5177 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.1315, allocations: 359.5 kB / 0.5181 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.1316, allocations: 7.938 kB / 0.5181 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007138/0.1323, allocations: 455.1 kB / 0.5185 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.1327, allocations: 247.5 kB / 0.5188 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1332, allocations: 159.6 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.1336, allocations: 167.7 kB / 0.5191 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1337, allocations: 16.16 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1338, allocations: 111.7 kB / 0.5192 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.1342, allocations: 251.5 kB / 0.5194 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1342, allocations: 3.938 kB / 0.5194 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.1343, allocations: 28 kB / 0.5195 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1344, allocations: 83.69 kB / 0.5195 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1346, allocations: 114.9 kB / 0.5197 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.135, allocations: 258.6 kB / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.135, allocations: 0 / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.135, allocations: 0 / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.135, allocations: 0 / 0.5199 GB, free: 3.457 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.001087/0.1361, allocations: 0.5777 MB / 0.5205 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1362, allocations: 8.031 kB / 0.5205 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.1362, allocations: 34.75 kB / 0.5205 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1363, allocations: 48.59 kB / 0.5206 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1367, allocations: 250.8 kB / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1367, allocations: 384 / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1368, allocations: 8.125 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1369, allocations: 53.67 kB / 0.5209 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.137, allocations: 4 kB / 0.5209 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.137, allocations: 4 kB / 0.5209 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.137, allocations: 0 / 0.5209 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1371, allocations: 31.97 kB / 0.5209 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.1378, allocations: 367.7 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1381, allocations: 46.55 kB / 0.5213 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.1382, allocations: 16.86 kB / 0.5213 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1382, allocations: 4.078 kB / 0.5213 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1382, allocations: 34.56 kB / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.1382, allocations: 0 / 0.5213 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007814/0.139, allocations: 240.5 kB / 0.5216 GB, free: 1.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1391, allocations: 59.41 kB / 0.5216 GB, free: 1.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1402, allocations: 0.8691 MB / 0.5225 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1402, allocations: 25.7 kB / 0.5225 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1404, allocations: 224.1 kB / 0.5227 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.1405, allocations: 19.8 kB / 0.5227 GB, free: 392 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.1405, allocations: 17.72 kB / 0.5227 GB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000302/0.1408, allocations: 362.8 kB / 0.5231 GB, free: 16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.1409, allocations: 27.92 kB / 0.5231 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.141, allocations: 19.98 kB / 0.5231 GB, free: 15.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1411, allocations: 52.83 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1411, allocations: 0 / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000256/0.1414, allocations: 121.4 kB / 0.5233 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1414, allocations: 8 kB / 0.5233 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1414, allocations: 0 / 0.5233 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1414, allocations: 4 kB / 0.5233 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.1415, allocations: 16.17 kB / 0.5233 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1415, allocations: 7.875 kB / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.1416, allocations: 8 kB / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1416, allocations: 4 kB / 0.5234 GB, free: 15.72 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.0002502/0.1418, allocations: 213.8 kB / 0.5236 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.1419, allocations: 43.72 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.1423, allocations: 141.2 kB / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1423, allocations: 0 / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.1423, allocations: 3.938 kB / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1423, allocations: 0 / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.1429, allocations: 441.5 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1429, allocations: 0 / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.143, allocations: 11.98 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.143, allocations: 3.938 kB / 0.5242 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.143, allocations: 8 kB / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.143, allocations: 0 / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.143, allocations: 0 / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.1433, allocations: 223.1 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1434, allocations: 36 kB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1434, allocations: 7.875 kB / 0.5244 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.1435, allocations: 15.98 kB / 0.5245 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.1435, allocations: 7.984 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1435, allocations: 192 / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007276/0.1443, allocations: 0.6511 MB / 0.5251 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 4 kB / 0.5251 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1445, allocations: 20 kB / 0.5251 GB, free: 13.83 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.00216/0.1467, allocations: 1.062 MB / 0.5262 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1469, allocations: 43.97 kB / 0.5262 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1469, allocations: 0 / 0.5262 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.147, allocations: 27.97 kB / 0.5262 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1474, allocations: 38.22 kB / 0.5263 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.1516, allocations: 3.262 MB / 0.5294 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.1522, allocations: 0.8182 MB / 0.5302 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.838e-05/0.1522, allocations: 15.98 kB / 0.5303 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1524, allocations: 111.4 kB / 0.5304 GB, free: 8.363 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1524, allocations: 4 kB / 0.5304 GB, free: 8.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.1884, allocations: 6.2 MB / 0.5364 GB, free: 2.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.54, allocations: 7.938 kB / 0.5364 GB, free: 2.059 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 14.802966141141951]