Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 58.31 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003133/0.113, allocations: 1.584 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.1138, allocations: 399.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.1139, allocations: 7.938 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.1142, allocations: 111.7 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1145, allocations: 79.78 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1149, allocations: 87.64 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1151, allocations: 75.88 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1152, allocations: 16.17 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.1153, allocations: 39.84 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1154, allocations: 67.8 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1154, allocations: 4 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1156, allocations: 51.91 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.1156, allocations: 19.92 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.1157, allocations: 31.75 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.116, allocations: 107.9 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.116, allocations: 11.86 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.116, allocations: 0 / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.116, allocations: 0 / 472 MB, free: 11.6 MB / 350.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.0005153/0.1165, allocations: 415 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1166, allocations: 8.031 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.1166, allocations: 38.75 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1167, allocations: 20.67 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1169, allocations: 200.1 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1169, allocations: 384 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1169, allocations: 8.125 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1171, allocations: 53.67 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1171, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1171, allocations: 4 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1171, allocations: 4 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1172, allocations: 23.97 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1176, allocations: 300.7 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1177, allocations: 42.55 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.1178, allocations: 20.86 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1178, allocations: 8.078 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1178, allocations: 30.56 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1178, allocations: 3.938 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009841/0.1188, allocations: 229 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1189, allocations: 59.33 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1192, allocations: 238.7 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1192, allocations: 25.7 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.1193, allocations: 108.1 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1193, allocations: 23.56 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1194, allocations: 25.7 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1195, allocations: 330.8 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1196, allocations: 19.98 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.1197, allocations: 23.98 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1199, allocations: 60.83 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1199, allocations: 0 / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002048/0.1201, allocations: 105.5 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1201, allocations: 8 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1201, allocations: 3.984 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1201, allocations: 4 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.1202, allocations: 12 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1203, allocations: 3.938 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1203, allocations: 11.98 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1203, allocations: 4 kB / 474.5 MB, free: 8.934 MB / 350.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.0001059/0.1204, allocations: 130.9 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1205, allocations: 19.75 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1207, allocations: 123.3 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1208, allocations: 0 / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1208, allocations: 3.938 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1208, allocations: 4 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1213, allocations: 411.2 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1213, allocations: 3.938 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.1214, allocations: 19.98 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1214, allocations: 0 / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1214, allocations: 0 / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1214, allocations: 0 / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/0.1214, allocations: 4 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1217, allocations: 204.2 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.1217, allocations: 88.86 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1218, allocations: 11.94 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.1219, allocations: 7.984 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1219, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.1219, allocations: 4 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.122, allocations: 191.2 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1221, allocations: 0 / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1223, allocations: 24 kB / 475.7 MB, free: 7.602 MB / 350.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.001416/0.1237, allocations: 1.077 MB / 476.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.124, allocations: 71.88 kB / 476.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.124, allocations: 4 kB / 476.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.1241, allocations: 31.98 kB / 476.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1245, allocations: 34.95 kB / 476.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1264, allocations: 1.723 MB / 478.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1267, allocations: 0.7185 MB / 479.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1268, allocations: 12.66 kB / 479.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.1269, allocations: 35.42 kB / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1269, allocations: 0 / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1472, allocations: 3.095 MB / 482.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.655, allocations: 8 kB / 482.5 MB, free: 0.9102 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:time,der(der(clock.y)),der(clock.y),der(d2_t_new.u),der(d_t_new.u),clock.y