Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.001806/0.001806, allocations: 105.8 kB / 16.41 MB, free: 6.508 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.001918/0.001918, 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.218/0.218, 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.002039/0.00204, allocations: 65.47 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1055, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003147/0.1086, allocations: 1.84 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1102, allocations: 0.9091 MB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.1103, allocations: 0 / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.1108, allocations: 255.4 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.1112, allocations: 187.4 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1115, allocations: 147.6 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.1119, allocations: 239.3 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.112, allocations: 33.52 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1122, allocations: 115.6 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1124, allocations: 175.5 kB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1124, allocations: 7.938 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1125, allocations: 51.97 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.1126, allocations: 59.77 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1127, allocations: 91.28 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1131, allocations: 222.9 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1131, allocations: 0 / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1131, allocations: 0 / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1131, allocations: 4 kB / 0.4917 GB, free: 7.895 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00075/0.1138, allocations: 0.5678 MB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1139, allocations: 11.89 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.1139, allocations: 30.75 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.114, allocations: 36.75 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1144, allocations: 288.3 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1144, allocations: 8.375 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1144, allocations: 7.938 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1147, allocations: 99.34 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1147, allocations: 0 / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1147, allocations: 0 / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1147, allocations: 4 kB / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1148, allocations: 43.91 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.1154, allocations: 449 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.1157, allocations: 125.2 kB / 0.4933 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.1158, allocations: 37.7 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1158, allocations: 11.97 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1161, allocations: 117 kB / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1161, allocations: 0 / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009231/0.117, allocations: 389.1 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.1171, allocations: 81.05 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.1176, allocations: 485.6 kB / 0.4944 GB, free: 4.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1176, allocations: 25.7 kB / 0.4944 GB, free: 4.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1178, allocations: 164.3 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.1178, allocations: 59.56 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.1179, allocations: 33.7 kB / 0.4946 GB, free: 4.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1181, allocations: 346.8 kB / 0.495 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1182, allocations: 39.97 kB / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1183, allocations: 71.41 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1186, allocations: 115.4 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1186, allocations: 4 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003463/0.1189, allocations: 189.5 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1189, allocations: 4 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.119, allocations: 8.062 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.119, allocations: 0 / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1191, allocations: 47.92 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1191, allocations: 0 / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.1192, allocations: 4 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1192, allocations: 7.984 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001609/0.1194, allocations: 173.7 kB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.1195, allocations: 31.81 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.1195, allocations: 38.81 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1196, allocations: 3.938 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1196, allocations: 11.94 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1196, allocations: 0 / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.1204, allocations: 0.6281 MB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1204, allocations: 3.984 kB / 0.4963 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.1205, allocations: 20 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1205, allocations: 0 / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1205, allocations: 4 kB / 0.4963 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1205, allocations: 8.047 kB / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1205, allocations: 4 kB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.1209, allocations: 368.1 kB / 0.4967 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.121, allocations: 104.9 kB / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.1211, allocations: 12 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1212, allocations: 7.984 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1213, allocations: 11.98 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1213, allocations: 8 kB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.1217, allocations: 363.1 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1217, allocations: 0 / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.122, allocations: 36 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002355/0.1244, allocations: 1.272 MB / 0.4984 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.1247, allocations: 112 kB / 0.4986 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1247, allocations: 0 / 0.4986 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1248, allocations: 68.05 kB / 0.4986 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.1254, allocations: 57.64 kB / 0.4987 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.1288, allocations: 2.751 MB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.1293, allocations: 0.7749 MB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.346e-05/0.1294, allocations: 34.23 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.1295, allocations: 87.39 kB / 0.5022 GB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1295, allocations: 4 kB / 0.5022 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1588, allocations: 5.965 MB / 0.5081 GB, free: 6.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.161, allocations: 4.062 kB / 0.5081 GB, free: 6.559 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches