Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001163/0.001163, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.00171/0.00171, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2721/0.2721, allocations: 43.51 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 78.03 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003571/0.1124, allocations: 1.685 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.114, allocations: 0.8039 MB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1142, allocations: 0 / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.1146, allocations: 47.7 kB / 0.4899 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1149, allocations: 55.77 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1153, allocations: 95.69 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1155, allocations: 91.7 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1156, allocations: 20.19 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1158, allocations: 43.78 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.1159, allocations: 27.84 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1159, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1161, allocations: 36 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.1162, allocations: 31.91 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/0.1162, allocations: 35.73 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1165, allocations: 123.4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1165, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1166, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1166, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006079/0.1172, allocations: 406.2 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1172, allocations: 11.89 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.1173, allocations: 42.73 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1173, allocations: 16.84 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1177, allocations: 212.1 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1177, allocations: 4.375 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1177, allocations: 7.938 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1179, allocations: 57.61 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1179, allocations: 0 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1179, allocations: 0 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1179, allocations: 0 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.118, allocations: 19.98 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1184, allocations: 288.9 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1186, allocations: 62.61 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.1187, allocations: 16.86 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1187, allocations: 0 / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.1188, allocations: 75.34 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1189, allocations: 0 / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005989/0.1195, allocations: 177.4 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1195, allocations: 51.41 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1197, allocations: 190.2 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1197, allocations: 25.7 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1199, allocations: 100.1 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1199, allocations: 27.8 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.12, allocations: 29.7 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1201, allocations: 322.8 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.1202, allocations: 16 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1203, allocations: 45.58 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1204, allocations: 57.69 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1204, allocations: 4 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.1206, allocations: 105.5 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1206, allocations: 4 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1207, allocations: 3.984 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1207, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.1208, allocations: 16 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1208, allocations: 0 / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.1208, allocations: 7.938 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1209, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001082/0.121, allocations: 141.7 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.121, allocations: 11.95 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.1211, allocations: 16.7 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1211, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1211, allocations: 0 / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1211, allocations: 7.938 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.1216, allocations: 391.3 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1216, allocations: 4.031 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.1216, allocations: 8 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1216, allocations: 3.938 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1216, allocations: 11.97 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1217, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1217, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1219, allocations: 200.3 kB / 0.4935 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.122, allocations: 93.02 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.122, allocations: 3.938 kB / 0.4936 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.1221, allocations: 8.375 kB / 0.4936 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1222, allocations: 7.984 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1222, allocations: 4 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1223, allocations: 144 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1223, allocations: 0 / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1226, allocations: 23.94 kB / 0.4938 GB, free: 5.336 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001488/0.1241, allocations: 1.114 MB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1243, allocations: 51.98 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1243, allocations: 0 / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.1244, allocations: 31.92 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1247, allocations: 31.77 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.1266, allocations: 1.638 MB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1269, allocations: 0.7002 MB / 0.4973 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.127, allocations: 13.19 kB / 0.4973 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1271, allocations: 35.42 kB / 0.4973 GB, free: 1.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1271, allocations: 4 kB / 0.4974 GB, free: 1.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.1496, allocations: 3.348 MB / 0.5006 GB, free: 14.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.017, allocations: 15.95 kB / 0.5006 GB, free: 14.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches