Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.91 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 65.23 kB / 491.8 MB, free: 29.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003053/0.119, allocations: 1.665 MB / 0.5447 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.1199, allocations: 478.9 kB / 0.5451 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1199, allocations: 0 / 0.5451 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1202, allocations: 27.84 kB / 0.5451 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.1204, allocations: 47.7 kB / 0.5452 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1208, allocations: 183 kB / 0.5454 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.121, allocations: 83.77 kB / 0.5454 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.1211, allocations: 24.14 kB / 0.5455 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.1211, allocations: 31.86 kB / 0.5455 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.1212, allocations: 39.83 kB / 0.5455 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1212, allocations: 11.94 kB / 0.5455 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1213, allocations: 59.97 kB / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.1214, allocations: 15.92 kB / 0.5456 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1214, allocations: 43.72 kB / 0.5457 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1217, allocations: 115.5 kB / 0.5458 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1217, allocations: 3.984 kB / 0.5458 GB, free: 1.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1217, allocations: 0 / 0.5458 GB, free: 1.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1217, allocations: 0 / 0.5458 GB, free: 1.277 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.0006692/0.1223, allocations: 434.7 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1224, allocations: 8.031 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1224, allocations: 38.75 kB / 0.5462 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1225, allocations: 8.891 kB / 0.5462 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1227, allocations: 204.8 kB / 0.5464 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1227, allocations: 4.125 kB / 0.5464 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1227, allocations: 4 kB / 0.5464 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.123, allocations: 95.36 kB / 0.5465 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.123, allocations: 0 / 0.5465 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.123, allocations: 0 / 0.5465 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.123, allocations: 0 / 0.5465 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.1233, allocations: 71.86 kB / 0.5466 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.1239, allocations: 360.6 kB / 0.5469 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1242, allocations: 70.47 kB / 0.547 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1243, allocations: 48.94 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1244, allocations: 4 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1244, allocations: 38.55 kB / 0.5471 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1244, allocations: 0 / 0.5471 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001582/0.126, allocations: 405 kB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.1261, allocations: 89.05 kB / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1262, allocations: 155.9 kB / 0.5477 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1263, allocations: 25.7 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1263, allocations: 96.14 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1264, allocations: 31.73 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.1264, allocations: 21.72 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1266, allocations: 318.8 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1268, allocations: 87.84 kB / 0.5483 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.1271, allocations: 97.62 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.1276, allocations: 165.3 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1276, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006032/0.1282, allocations: 221.4 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1283, allocations: 11.94 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1283, allocations: 4 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1283, allocations: 0 / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1285, allocations: 35.95 kB / 0.5488 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1285, allocations: 11.94 kB / 0.5488 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1286, allocations: 19.97 kB / 0.5488 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1287, allocations: 4 kB / 0.5488 GB, free: 13.9 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 (10): * Single equations (assignments): 10 * 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.0001056/0.1288, allocations: 121.8 kB / 0.5489 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.1288, allocations: 15.89 kB / 0.5489 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.1295, allocations: 226.1 kB / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1295, allocations: 0 / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.1295, allocations: 0 / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1295, allocations: 0 / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1305, allocations: 0.5217 MB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1305, allocations: 0 / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1307, allocations: 35.95 kB / 0.5497 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1307, allocations: 7.938 kB / 0.5497 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1307, allocations: 8 kB / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1307, allocations: 288 / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1307, allocations: 0 / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.1314, allocations: 303.2 kB / 0.55 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.1315, allocations: 89.05 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1315, allocations: 4 kB / 0.5501 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1316, allocations: 23.97 kB / 0.5501 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.1317, allocations: 11.98 kB / 0.5501 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1317, allocations: 0 / 0.5501 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1318, allocations: 127.6 kB / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1318, allocations: 0 / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1321, allocations: 39.86 kB / 0.5503 GB, free: 12.28 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 (9): * Single equations (assignments): 9 * 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.002506/0.1346, allocations: 1.179 MB / 0.5514 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.1353, allocations: 171.7 kB / 0.5516 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.1353, allocations: 4 kB / 0.5516 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.1356, allocations: 95.84 kB / 0.5517 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.136, allocations: 15.98 kB / 0.5517 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.1389, allocations: 1.902 MB / 0.5536 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1392, allocations: 0.7002 MB / 0.5543 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1394, allocations: 32.52 kB / 0.5543 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.1394, allocations: 35.42 kB / 0.5543 GB, free: 8.203 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1394, allocations: 0 / 0.5543 GB, free: 8.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1644, allocations: 3.958 MB / 0.5582 GB, free: 4.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.091, allocations: 15.45 kB / 0.5582 GB, free: 4.234 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: 11.189602432772517]