Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001382/0.001382, allocations: 119 kB / 18.5 MB, free: 4.602 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.001339/0.001339, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.478/1.478, allocations: 225.6 MB / 249.8 MB, free: 3.488 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.2202/0.2202, allocations: 44.91 MB / 349.6 MB, free: 1.816 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 72.62 kB / 491.8 MB, free: 30.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1226, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00314/0.1257, allocations: 1.59 MB / 0.5446 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.1265, allocations: 423.1 kB / 0.545 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1265, allocations: 0 / 0.545 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1269, allocations: 123.7 kB / 0.5451 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1271, allocations: 79.77 kB / 0.5452 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1274, allocations: 115.7 kB / 0.5453 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1275, allocations: 83.86 kB / 0.5454 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1276, allocations: 24.11 kB / 0.5454 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.1277, allocations: 43.83 kB / 0.5454 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1278, allocations: 95.69 kB / 0.5455 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1278, allocations: 4 kB / 0.5455 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.704e-05/0.1279, allocations: 47.97 kB / 0.5456 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.128, allocations: 23.92 kB / 0.5456 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.128, allocations: 39.69 kB / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1282, allocations: 111.5 kB / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1282, allocations: 0 / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1282, allocations: 0 / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1283, allocations: 0 / 0.5457 GB, free: 1.316 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.0005926/0.1288, allocations: 436.5 kB / 0.5462 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1289, allocations: 12.03 kB / 0.5462 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1289, allocations: 30.75 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.129, allocations: 16.84 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1292, allocations: 212 kB / 0.5464 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-06/0.1292, allocations: 4.375 kB / 0.5464 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.1293, allocations: 12.12 kB / 0.5464 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1294, allocations: 53.66 kB / 0.5465 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1294, allocations: 0 / 0.5465 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1294, allocations: 0 / 0.5465 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1294, allocations: 4 kB / 0.5465 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/0.1295, allocations: 31.92 kB / 0.5465 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.13, allocations: 304.8 kB / 0.5468 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1301, allocations: 46.55 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1302, allocations: 16.86 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1302, allocations: 4.047 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1302, allocations: 42.59 kB / 0.5469 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1302, allocations: 0 / 0.5469 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009001/0.1311, allocations: 253.5 kB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1312, allocations: 55.34 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1315, allocations: 266.3 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1315, allocations: 25.7 kB / 0.5475 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.1316, allocations: 116.1 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.1316, allocations: 31.73 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1317, allocations: 17.72 kB / 0.5476 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1318, allocations: 326.8 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.1319, allocations: 27.97 kB / 0.548 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.132, allocations: 31.98 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1321, allocations: 80.75 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1321, allocations: 0 / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002383/0.1324, allocations: 117.5 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1324, allocations: 4 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1324, allocations: 0 / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1324, allocations: 4 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.1325, allocations: 15.98 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1325, allocations: 7.875 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.1325, allocations: 11.98 kB / 0.5482 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1326, allocations: 0 / 0.5482 GB, free: 14.52 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 (8): * Single equations (assignments): 8 * 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.000117/0.1327, allocations: 137.8 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1327, allocations: 15.91 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.133, allocations: 131.3 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.133, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.133, allocations: 7.922 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.133, allocations: 4 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.1336, allocations: 423.2 kB / 0.5489 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1336, allocations: 3.938 kB / 0.5489 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.1337, allocations: 15.98 kB / 0.549 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1337, allocations: 4 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1337, allocations: 7.938 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1337, allocations: 0 / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1337, allocations: 4.031 kB / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.134, allocations: 212.3 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.134, allocations: 88.95 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.134, allocations: 11.98 kB / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1341, allocations: 4 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1341, allocations: 15.98 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1342, allocations: 0 / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.1343, allocations: 199.1 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1343, allocations: 3.938 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1346, allocations: 23.94 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002113/0.1367, allocations: 1.102 MB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.137, allocations: 83.88 kB / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.137, allocations: 0 / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.1371, allocations: 31.98 kB / 0.5507 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1374, allocations: 25.42 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.1395, allocations: 1.82 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1399, allocations: 0.7158 MB / 0.5532 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.238e-05/0.1399, allocations: 20.64 kB / 0.5532 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.14, allocations: 47.42 kB / 0.5533 GB, free: 9.316 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.14, allocations: 0 / 0.5533 GB, free: 9.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.1645, allocations: 3.391 MB / 0.5566 GB, free: 5.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.001, allocations: 10.05 kB / 0.5566 GB, free: 5.945 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.097794472705573]