Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001279/0.001279, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001458/0.001458, allocations: 209.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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.2174/0.2174, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001958/0.001958, allocations: 71.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1182, allocations: 65.41 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003072/0.1212, allocations: 1.611 MB / 0.5533 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1229, allocations: 1.171 MB / 0.5545 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.123, allocations: 7.875 kB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1232, allocations: 31.84 kB / 0.5545 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1235, allocations: 87.61 kB / 0.5546 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1238, allocations: 107.7 kB / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1239, allocations: 63.78 kB / 0.5548 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.124, allocations: 15.92 kB / 0.5548 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.839e-05/0.1241, allocations: 31.84 kB / 0.5548 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1242, allocations: 27.86 kB / 0.5548 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1242, allocations: 4 kB / 0.5548 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.1244, allocations: 107.9 kB / 0.5549 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.1244, allocations: 11.94 kB / 0.555 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.1245, allocations: 27.84 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1247, allocations: 135.5 kB / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1247, allocations: 0 / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1247, allocations: 0 / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1247, allocations: 0 / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000517/0.1252, allocations: 406.8 kB / 0.5555 GB, free: 6.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1253, allocations: 8.031 kB / 0.5555 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1253, allocations: 42.69 kB / 0.5556 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1253, allocations: 8.891 kB / 0.5556 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1255, allocations: 200.2 kB / 0.5558 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.1256, allocations: 4.375 kB / 0.5558 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1256, allocations: 384 / 0.5558 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1257, allocations: 67.33 kB / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1257, allocations: 0 / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1258, allocations: 4 kB / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1258, allocations: 0 / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.1259, allocations: 27.92 kB / 0.5559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.1263, allocations: 284.9 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1265, allocations: 42.55 kB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1265, allocations: 16.86 kB / 0.5562 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1265, allocations: 4.094 kB / 0.5562 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1266, allocations: 42.48 kB / 0.5562 GB, free: 5.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1266, allocations: 0 / 0.5562 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005839/0.1271, allocations: 149.4 kB / 0.5564 GB, free: 5.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1272, allocations: 81.05 kB / 0.5564 GB, free: 5.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1274, allocations: 145.8 kB / 0.5566 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1274, allocations: 25.7 kB / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.1274, allocations: 96.12 kB / 0.5567 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.1275, allocations: 15.86 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.1275, allocations: 17.72 kB / 0.5567 GB, free: 4.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1276, allocations: 326.8 kB / 0.557 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.1277, allocations: 23.92 kB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.1278, allocations: 37.7 kB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1279, allocations: 56.81 kB / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1279, allocations: 0 / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002106/0.1282, allocations: 85.56 kB / 0.5572 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1282, allocations: 10.19 kB / 0.5572 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1282, allocations: 0 / 0.5572 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1282, allocations: 4.219 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.1283, allocations: 16.27 kB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1283, allocations: 0 / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.1283, allocations: 19.86 kB / 0.5573 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1283, allocations: 4 kB / 0.5573 GB, free: 4.188 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 8.773e-05/0.1284, allocations: 116 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1284, allocations: 11.94 kB / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1287, allocations: 97.89 kB / 0.5575 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1287, allocations: 4 kB / 0.5575 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1287, allocations: 4 kB / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1287, allocations: 3.938 kB / 0.5575 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1292, allocations: 358.5 kB / 0.5579 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1292, allocations: 0 / 0.5579 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.1292, allocations: 11.98 kB / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1293, allocations: 4 kB / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.1293, allocations: 3.938 kB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1293, allocations: 4 kB / 0.5579 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1293, allocations: 3.938 kB / 0.5579 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1295, allocations: 183.5 kB / 0.5581 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1296, allocations: 81.06 kB / 0.5581 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1296, allocations: 3.938 kB / 0.5581 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.1297, allocations: 7.984 kB / 0.5581 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1297, allocations: 8 kB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1297, allocations: 0 / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.987e-05/0.1298, allocations: 115.2 kB / 0.5583 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1298, allocations: 0 / 0.5583 GB, free: 3.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1301, allocations: 35.88 kB / 0.5583 GB, free: 3.043 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.002186/0.1323, allocations: 1.111 MB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1325, allocations: 59.89 kB / 0.5594 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1325, allocations: 0 / 0.5594 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.1326, allocations: 27.92 kB / 0.5595 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.133, allocations: 18.8 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1347, allocations: 1.444 MB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.135, allocations: 0.6924 MB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.1351, allocations: 15.77 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.1352, allocations: 31.42 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1352, allocations: 0 / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1617, allocations: 3.272 MB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.377, allocations: 12.94 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.47248027799651]