Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001735/0.001735, allocations: 117.7 kB / 18.45 MB, free: 4.57 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.001971/0.001972, allocations: 186.9 kB / 21.39 MB, free: 1.645 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.428/1.428, allocations: 222.9 MB / 247.1 MB, free: 4.184 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.4836/0.4836, allocations: 44.24 MB / 343.5 MB, free: 7.578 MB / 270.1 MB " [Timeout remaining time 179] 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.62 kB / 478.8 MB, free: 24.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 60.83 MB / 0.527 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002913/0.118, allocations: 1.56 MB / 0.5286 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.1189, allocations: 407.2 kB / 0.5289 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.1189, allocations: 4 kB / 0.5289 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1191, allocations: 23.86 kB / 0.529 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1193, allocations: 31.78 kB / 0.529 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1197, allocations: 111.7 kB / 0.5291 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1198, allocations: 55.84 kB / 0.5292 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1199, allocations: 11.94 kB / 0.5292 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.12, allocations: 23.91 kB / 0.5292 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.1201, allocations: 23.86 kB / 0.5292 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1201, allocations: 0 / 0.5292 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.1202, allocations: 31.94 kB / 0.5292 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1202, allocations: 19.92 kB / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.1203, allocations: 23.86 kB / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1205, allocations: 63.73 kB / 0.5293 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1205, allocations: 0 / 0.5293 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1205, allocations: 0 / 0.5293 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1205, allocations: 7.938 kB / 0.5294 GB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005223/0.121, allocations: 379 kB / 0.5297 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1211, allocations: 12.03 kB / 0.5297 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1211, allocations: 34.75 kB / 0.5298 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.1212, allocations: 12.89 kB / 0.5298 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1214, allocations: 184.3 kB / 0.5299 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.1214, allocations: 384 / 0.5299 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1214, allocations: 4.375 kB / 0.53 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1216, allocations: 45.62 kB / 0.53 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1216, allocations: 0 / 0.53 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1216, allocations: 7.938 kB / 0.53 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1217, allocations: 4 kB / 0.53 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1218, allocations: 23.97 kB / 0.53 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1222, allocations: 284.8 kB / 0.5303 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1224, allocations: 42.56 kB / 0.5303 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.1225, allocations: 28.88 kB / 0.5304 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1225, allocations: 3.984 kB / 0.5304 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1225, allocations: 34.56 kB / 0.5304 GB, free: 9.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1226, allocations: 0 / 0.5304 GB, free: 9.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005682/0.1231, allocations: 145.5 kB / 0.5305 GB, free: 9.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1232, allocations: 51.41 kB / 0.5306 GB, free: 9.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1233, allocations: 144.5 kB / 0.5307 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1234, allocations: 25.7 kB / 0.5308 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1234, allocations: 96.09 kB / 0.5308 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1235, allocations: 19.83 kB / 0.5309 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1235, allocations: 17.72 kB / 0.5309 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1237, allocations: 326.8 kB / 0.5312 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.1237, allocations: 19.98 kB / 0.5312 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.1238, allocations: 24.05 kB / 0.5312 GB, free: 9.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.124, allocations: 56.77 kB / 0.5313 GB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.124, allocations: 0 / 0.5313 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002064/0.1242, allocations: 89.55 kB / 0.5314 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1242, allocations: 4 kB / 0.5314 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1242, allocations: 0 / 0.5314 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1242, allocations: 0 / 0.5314 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.1243, allocations: 11.98 kB / 0.5314 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1243, allocations: 7.938 kB / 0.5314 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.1244, allocations: 8 kB / 0.5314 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1244, allocations: 7.938 kB / 0.5314 GB, free: 8.887 MB / 398.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.921e-05/0.1245, allocations: 117.8 kB / 0.5315 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.1245, allocations: 7.953 kB / 0.5315 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1248, allocations: 93.91 kB / 0.5316 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1248, allocations: 4 kB / 0.5316 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1248, allocations: 0 / 0.5316 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1248, allocations: 288 / 0.5316 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.1253, allocations: 354.5 kB / 0.532 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1253, allocations: 320 / 0.532 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.1253, allocations: 15.92 kB / 0.532 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1254, allocations: 0 / 0.532 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1254, allocations: 7.984 kB / 0.532 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1254, allocations: 7.938 kB / 0.532 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1254, allocations: 0 / 0.532 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1256, allocations: 179.5 kB / 0.5322 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.1257, allocations: 85.06 kB / 0.5322 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1257, allocations: 0 / 0.5322 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.1258, allocations: 11.94 kB / 0.5323 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1259, allocations: 3.984 kB / 0.5323 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1259, allocations: 4 kB / 0.5323 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.126, allocations: 108.5 kB / 0.5324 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.126, allocations: 4 kB / 0.5324 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1262, allocations: 19.92 kB / 0.5324 GB, free: 7.77 MB / 398.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.001942/0.1282, allocations: 1.017 MB / 0.5334 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1284, allocations: 55.95 kB / 0.5334 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1284, allocations: 0 / 0.5334 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.1285, allocations: 27.92 kB / 0.5335 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1289, allocations: 26.84 kB / 0.5335 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1306, allocations: 1.426 MB / 0.5349 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.131, allocations: 0.6961 MB / 0.5356 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.131, allocations: 16.05 kB / 0.5356 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.1311, allocations: 23.42 kB / 0.5356 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1311, allocations: 0 / 0.5356 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.1549, allocations: 2.491 MB / 0.538 GB, free: 2.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/7.939, allocations: 6.875 kB / 0.538 GB, free: 2.117 MB / 398.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.214687235886231]